aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-fork4.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-fork4.c')
-rw-r--r--nptl/tst-fork4.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/tst-fork4.c b/nptl/tst-fork4.c
index 7f2b178e26..7cb0f9c1f2 100644
--- a/nptl/tst-fork4.c
+++ b/nptl/tst-fork4.c
@@ -24,8 +24,9 @@
#include <sys/types.h>
#include <sys/wait.h>
-int
-main (void)
+
+static int
+do_test (void)
{
pthread_t me = pthread_self ();
@@ -58,3 +59,6 @@ main (void)
return 1;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"