about summary refs log tree commit diff
path: root/nptl/tst-sem11.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-sem11.c')
-rw-r--r--nptl/tst-sem11.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nptl/tst-sem11.c b/nptl/tst-sem11.c
index 891e37a860..a82bb737d5 100644
--- a/nptl/tst-sem11.c
+++ b/nptl/tst-sem11.c
@@ -29,15 +29,15 @@
 static void *
 tf (void *arg)
 {
-#ifdef PREPARE
-  PREPARE
+#ifdef TF_PREPARE
+  TF_PREPARE
 #endif
   SEM_WAIT (arg);
   return NULL;
 }
 
 int
-main (void)
+do_test (void)
 {
   int tries = 5;
   pthread_t th;
@@ -101,3 +101,5 @@ main (void)
 
   return 0;
 }
+
+#include <support/test-driver.c>