OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xds_engine_xml.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/xds_engine_xml.c 1.1 -> 1.2

--- xds_engine_xml.c     2001/08/08 19:15:23     1.1
+++ xds_engine_xml.c     2001/08/08 19:32:02     1.2
@@ -27,11 +27,14 @@
 #include <stdio.h>
 #include "xds.h"
 
-const char xds_xml_begin_text[] =
+static const char xds_xml_begin_text[] =
     "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\">\n"
     "<!DOCTYPE xds SYSTEM \"http://www.ossp.org/pkg/xds/xds-xml.dtd\">\n"
     "<xds>\n";
 
+static const char xds_xml_end_text[] = 
+    "</xds>\n";
+
 int xml_encode_begin(xds_t * xds, void *engine_context,
                      void *buffer, size_t buffer_size,
                      size_t * used_buffer_size, va_list * args)
@@ -52,8 +55,6 @@
     return XDS_OK;
 }
 
-const char xds_xml_end_text[] = "</xds>\n";
-
 int xml_encode_end(xds_t * xds, void *engine_context,
                    void *buffer, size_t buffer_size,
                    size_t * used_buffer_size, va_list * args)
@@ -754,9 +755,9 @@
     return XDS_OK;
 }
 
-const char xds_base64[] =
+static const char xds_base64[] =
     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-const char xds_pad64 = '=';
+static const char xds_pad64 = '=';
 
 static int base64_encode(char *dst, size_t dstlen, unsigned char const *src,
                          size_t srclen)

CVSTrac 2.0.1