summaryrefslogtreecommitdiff
path: root/src/internal/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/version.c')
-rw-r--r--src/internal/version.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/version.c b/src/internal/version.c
index dc044ec4..0d6e1f82 100644
--- a/src/internal/version.c
+++ b/src/internal/version.c
@@ -1,9 +1,9 @@
#include "version.h"
+#include "libc.h"
static const char version[] = VERSION;
-__attribute__((__visibility__("hidden")))
-const char *__libc_get_version()
+hidden const char *__libc_get_version()
{
return version;
}