about summary refs log tree commit diff
path: root/misc/tst-fdset.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tst-fdset.c')
-rw-r--r--misc/tst-fdset.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/tst-fdset.c b/misc/tst-fdset.c
index 78a34e9e5e..ef93ac3f39 100644
--- a/misc/tst-fdset.c
+++ b/misc/tst-fdset.c
@@ -20,8 +20,8 @@
 #include <stdio.h>
 #include <sys/types.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   int retval = 0;
   int i;
@@ -62,3 +62,6 @@ main (void)
 
   return retval;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"