summaryrefslogtreecommitdiff
path: root/nptl/tst-sem8.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-sem8.c')
-rw-r--r--nptl/tst-sem8.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/nptl/tst-sem8.c b/nptl/tst-sem8.c
index 1aeb1e1ad3..49286de992 100644
--- a/nptl/tst-sem8.c
+++ b/nptl/tst-sem8.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
@@ -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"