aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-sem7.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-sem7.c')
-rw-r--r--nptl/tst-sem7.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/tst-sem7.c b/nptl/tst-sem7.c
index d0e7f05..4fc5f1f 100644
--- a/nptl/tst-sem7.c
+++ b/nptl/tst-sem7.c
@@ -31,8 +31,8 @@ remove_sem (int status, void *arg)
}
-int
-main (void)
+static int
+do_test (void)
{
sem_t *s;
sem_t *s2;
@@ -106,3 +106,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"