summaryrefslogtreecommitdiff
path: root/stdlib/tst-tls-atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-tls-atexit.c')
-rw-r--r--stdlib/tst-tls-atexit.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-tls-atexit.c b/stdlib/tst-tls-atexit.c
index 1ba3fae352..c03a3e5ed3 100644
--- a/stdlib/tst-tls-atexit.c
+++ b/stdlib/tst-tls-atexit.c
@@ -60,8 +60,8 @@ load (void *u)
return NULL;
}
-int
-main (void)
+static int
+do_test (void)
{
pthread_t t;
int ret;
@@ -109,3 +109,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"