diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/tst-initializers1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/tst-initializers1.c b/nptl/tst-initializers1.c index e09f7a9c49..5119ebfcb5 100644 --- a/nptl/tst-initializers1.c +++ b/nptl/tst-initializers1.c @@ -30,8 +30,8 @@ pthread_rwlock_t rwl_writer = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP; pthread_cond_t cond = PTHREAD_COND_INITIALIZER; -int -main (void) +static int +do_test (void) { if (mtx_normal.__data.__kind != PTHREAD_MUTEX_TIMED_NP) return 1; @@ -55,3 +55,6 @@ main (void) return 7; return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |