about summary refs log tree commit diff
path: root/nptl/tst-sem4.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-sem4.c')
-rw-r--r--nptl/tst-sem4.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/tst-sem4.c b/nptl/tst-sem4.c
index b3bac53c77..72ed97d370 100644
--- a/nptl/tst-sem4.c
+++ b/nptl/tst-sem4.c
@@ -32,7 +32,7 @@ remove_sem (int status, void *arg)
 
 
 int
-main (void)
+do_test (void)
 {
   sem_t *s;
   sem_t *s2;
@@ -144,3 +144,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"