summaryrefslogtreecommitdiff
path: root/test/nptl/tst-sem4.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-sem4.c')
-rw-r--r--test/nptl/tst-sem4.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/nptl/tst-sem4.c b/test/nptl/tst-sem4.c
index 125759bab..72ed97d37 100644
--- a/test/nptl/tst-sem4.c
+++ b/test/nptl/tst-sem4.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -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"