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