From 3266531c78ce58455d2cc1d95e12b4148711bdf9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 27 Oct 2006 23:26:20 +0000 Subject: * Makerules: USE_TLS support is now default. * tls.make.c: Likewise. --- elf/tst-thrlock.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'elf') diff --git a/elf/tst-thrlock.c b/elf/tst-thrlock.c index 71f1fbb..fe72eba 100644 --- a/elf/tst-thrlock.c +++ b/elf/tst-thrlock.c @@ -27,8 +27,9 @@ tf (void *arg) return NULL; } -int -main (void) + +static int +do_test (void) { #define N 10 pthread_t th[N]; @@ -53,3 +54,6 @@ main (void) } return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" -- cgit v1.1