about summary refs log tree commit diff
path: root/string/test-ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-ffs.c')
-rw-r--r--string/test-ffs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/string/test-ffs.c b/string/test-ffs.c
index 7ac1dd6bfd..a64a1cccc1 100644
--- a/string/test-ffs.c
+++ b/string/test-ffs.c
@@ -21,8 +21,8 @@
 #include <stdio.h>
 #include <string.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   int failures = 0;
   int i;
@@ -61,3 +61,6 @@ main (void)
 
   return failures;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"