aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_getspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_getspecific.c')
-rw-r--r--src/thread/pthread_getspecific.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_getspecific.c b/src/thread/pthread_getspecific.c
index d9342a56..1a4e2d14 100644
--- a/src/thread/pthread_getspecific.c
+++ b/src/thread/pthread_getspecific.c
@@ -9,3 +9,11 @@ static void *__pthread_getspecific(pthread_key_t k)
weak_alias(__pthread_getspecific, pthread_getspecific);
weak_alias(__pthread_getspecific, tss_get);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif