aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-sem4.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-04-23 12:21:00 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-04-23 12:21:00 +0530
commitbacc75f7be11656387c239831f490155f5fb3700 (patch)
treeaaa087f6bd061466db72ecde2cc43b6f9e4ab8f1 /nptl/tst-sem4.c
parenta059d359d86130b5fa74e04a978c8523a0293f77 (diff)
downloadglibc-bacc75f7be11656387c239831f490155f5fb3700.tar
glibc-bacc75f7be11656387c239831f490155f5fb3700.tar.gz
glibc-bacc75f7be11656387c239831f490155f5fb3700.tar.bz2
glibc-bacc75f7be11656387c239831f490155f5fb3700.zip
Use test-skeleton.c in tst-sem3 and tst-sem4
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"