about summary refs log tree commit diff
path: root/src/internal/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/version.c')
-rw-r--r--src/internal/version.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/internal/version.c b/src/internal/version.c
index 16554ba2..dc044ec4 100644
--- a/src/internal/version.c
+++ b/src/internal/version.c
@@ -1,12 +1,9 @@
-#ifdef SHARED
-
 #include "version.h"
 
 static const char version[] = VERSION;
 
+__attribute__((__visibility__("hidden")))
 const char *__libc_get_version()
 {
 	return version;
 }
-
-#endif