diff options
Diffstat (limited to 'nptl/tst-cleanup1.c')
-rw-r--r-- | nptl/tst-cleanup1.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nptl/tst-cleanup1.c b/nptl/tst-cleanup1.c index 82a568b..ef02ef6 100644 --- a/nptl/tst-cleanup1.c +++ b/nptl/tst-cleanup1.c @@ -22,6 +22,11 @@ #include <unistd.h> +static int do_test (void); + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" + static int global; @@ -67,7 +72,7 @@ do_test (void) if (pthread_create (&th, NULL, tf, NULL) != 0) { - write (2, "create failed\n", 14); + write_message ("create failed\n"); _exit (1); } @@ -93,7 +98,3 @@ do_test (void) return 0; } - - -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" |