about summary refs log tree commit diff
path: root/nptl/tst-sem8.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-sem8.c')
-rw-r--r--nptl/tst-sem8.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/tst-sem8.c b/nptl/tst-sem8.c
index 1aeb1e1ad3..4d7197cb4c 100644
--- a/nptl/tst-sem8.c
+++ b/nptl/tst-sem8.c
@@ -31,8 +31,8 @@ remove_sem (int status, void *arg)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   sem_t *s;
   int i;
@@ -71,3 +71,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"