aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-thrlock.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-27 23:26:20 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-27 23:26:20 +0000
commit3266531c78ce58455d2cc1d95e12b4148711bdf9 (patch)
tree105cd1ad3ad147497126bb7805c55a003241cc39 /elf/tst-thrlock.c
parentb52bbc1bdf3886da8dd3265fd955cafe5368d34a (diff)
downloadglibc-3266531c78ce58455d2cc1d95e12b4148711bdf9.tar
glibc-3266531c78ce58455d2cc1d95e12b4148711bdf9.tar.gz
glibc-3266531c78ce58455d2cc1d95e12b4148711bdf9.tar.bz2
glibc-3266531c78ce58455d2cc1d95e12b4148711bdf9.zip
* Makerules: USE_TLS support is now default.
* tls.make.c: Likewise.
Diffstat (limited to 'elf/tst-thrlock.c')
-rw-r--r--elf/tst-thrlock.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/elf/tst-thrlock.c b/elf/tst-thrlock.c
index 71f1fbb35d..fe72eba141 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"