about summary refs log tree commit diff
path: root/src/env
diff options
context:
space:
mode:
Diffstat (limited to 'src/env')
-rw-r--r--src/env/__init_tls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c
index b5bd80d1..a5074fba 100644
--- a/src/env/__init_tls.c
+++ b/src/env/__init_tls.c
@@ -8,6 +8,9 @@
 #include "atomic.h"
 #include "syscall.h"
 
+#ifndef SHARED
+static
+#endif
 int __init_tp(void *p)
 {
 	pthread_t td = p;