aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_key_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_key_create.c')
-rw-r--r--src/thread/pthread_key_create.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_key_create.c b/src/thread/pthread_key_create.c
index 39770c7a..e44b2ed1 100644
--- a/src/thread/pthread_key_create.c
+++ b/src/thread/pthread_key_create.c
@@ -97,3 +97,11 @@ void __pthread_tsd_run_dtors()
weak_alias(__pthread_key_create, pthread_key_create);
weak_alias(__pthread_key_delete, pthread_key_delete);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif