]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - string/tst-svc.c
Break lines before not after operators, batch 4.
[thirdparty/glibc.git] / string / tst-svc.c
index c6add5b4b129cc7daac79f95c5ff3471df5798d4..d5cf2c19c9ba048f81a147fe3ab2d87201f93aac 100644 (file)
@@ -7,14 +7,14 @@
 #define  MAX_STRINGS      256
 #define  MAX_LINE_SIZE    32
 
-int
+static int
 compare (const void *p1, const void *p2)
 {
   return strverscmp (*((char **) p1), *((char **) p2));
 }
 
 int
-main (int argc, char *argv[])
+do_test (void)
 {
   char line[MAX_LINE_SIZE + 1];
   char *str[MAX_STRINGS];
@@ -41,5 +41,7 @@ main (int argc, char *argv[])
   for (i = 0; i < count; ++i)
     puts (str[i]);
 
-  exit (EXIT_SUCCESS);
+  return EXIT_SUCCESS;
 }
+
+#include <support/test-driver.c>