OSSP CVS Repository

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

ossp-pkg/xds/xds_test_xml.c 1.2 -> 1.3

--- xds_test_xml.c       2001/08/09 19:58:35     1.2
+++ xds_test_xml.c       2001/08/09 20:59:05     1.3
@@ -35,7 +35,7 @@
 
 #ifdef XDS_TEST_XML_INT32
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -53,7 +53,6 @@
     size_t i;
 
     /* Encode the values array, then decode it back and compare the numbers. */
-
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -125,7 +124,6 @@
     xds_destroy(xds);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -133,7 +131,7 @@
 
 #ifdef XDS_TEST_XML_UINT32
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -150,7 +148,6 @@
     size_t i;
 
     /* Encode the values array, then decode it back and compare the numbers. */
-
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -202,7 +199,6 @@
     xds_destroy(xds);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -212,7 +208,7 @@
 
 #ifdef XDS_HAVE_64_BIT_SUPPORT
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -230,7 +226,6 @@
     size_t i;
 
     /* Encode the values array, then decode it back and compare the numbers. */
-
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -280,7 +275,6 @@
     xds_destroy(xds);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -292,7 +286,7 @@
 
 #ifdef XDS_HAVE_64_BIT_SUPPORT
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -309,7 +303,6 @@
     size_t i;
 
     /* Encode the values array, then decode it back and compare the numbers. */
-
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -359,7 +352,6 @@
     xds_destroy(xds);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -369,7 +361,7 @@
 
 #ifdef XDS_TEST_XML_DOUBLE
 
-int main()
+int main(int argc, char *argv[])
 {
 #if 0
     xds_t *xds;
@@ -445,7 +437,7 @@
 
 #ifdef XDS_TEST_XML_STRING
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -455,8 +447,7 @@
     char *new_msg;
 
     /* Encode the string, then erase the buffer and decode the string back,
-     * verifying that it hasn't changed. */
-
+       verifying that it hasn't changed. */
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -512,7 +503,6 @@
     free(new_msg);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -520,7 +510,7 @@
 
 #ifdef XDS_TEST_XML_STRING_EMPTY
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -530,8 +520,7 @@
     char *new_msg;
 
     /* Encode the string, then erase the buffer and decode the string back,
-     * verifying that it hasn't changed. */
-
+       verifying that it hasn't changed. */
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -587,7 +576,6 @@
     free(new_msg);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -595,7 +583,7 @@
 
 #ifdef XDS_TEST_XML_OCTETSTREAM
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -606,8 +594,7 @@
     size_t new_msg_size;
 
     /* Encode the string as octet stream. Then erase the buffer and decode
-     * the string back, verifying that it hasn't changed. */
-
+       the string back, verifying that it hasn't changed. */
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -663,7 +650,6 @@
     free(new_msg);
 
     /* Everything went fine. */
-
     return 0;
 }
 
@@ -671,7 +657,7 @@
 
 #ifdef XDS_TEST_XML_OCTETSTREAM_EMPTY
 
-int main()
+int main(int argc, char *argv[])
 {
     xds_t *xds;
     char *buffer;
@@ -682,8 +668,7 @@
     size_t new_msg_size;
 
     /* Encode the string as octet stream. Then erase the buffer and decode
-     * the string back, verifying that it hasn't changed. */
-
+       the string back, verifying that it hasn't changed. */
     xds = xds_init(XDS_ENCODE);
     if (xds == NULL) {
         printf("Failed to initialize XDS context.\n");
@@ -739,8 +724,8 @@
     free(new_msg);
 
     /* Everything went fine. */
-
     return 0;
 }
 
 #endif /* XDS_TEST_XML_OCTETSTREAM_EMPTY */
+

CVSTrac 2.0.1