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