summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/__xpg_strerror_r.c2
-rw-r--r--libc/string/_string_syserrmsgs.c1
-rw-r--r--libc/string/sys_errlist.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/__xpg_strerror_r.c b/libc/string/__xpg_strerror_r.c
index 93dffc732..40e114224 100644
--- a/libc/string/__xpg_strerror_r.c
+++ b/libc/string/__xpg_strerror_r.c
@@ -13,7 +13,7 @@
#ifdef __UCLIBC_HAS_ERRNO_MESSAGES__
-extern const char _string_syserrmsgs[];
+extern const char _string_syserrmsgs[] attribute_hidden;
#if defined(__alpha__) || defined(__mips__) || defined(__sparc__)
diff --git a/libc/string/_string_syserrmsgs.c b/libc/string/_string_syserrmsgs.c
index a76c0e3af..893af5cc6 100644
--- a/libc/string/_string_syserrmsgs.c
+++ b/libc/string/_string_syserrmsgs.c
@@ -9,6 +9,7 @@
#ifdef __UCLIBC_HAS_ERRNO_MESSAGES__
+attribute_hidden
const char _string_syserrmsgs[] = {
/* 0: 0, 8 */ "Success\0"
/* 1: 8, 24 */ "Operation not permitted\0"
diff --git a/libc/string/sys_errlist.c b/libc/string/sys_errlist.c
index a0b5e3b2f..17ed4d62c 100644
--- a/libc/string/sys_errlist.c
+++ b/libc/string/sys_errlist.c
@@ -8,7 +8,7 @@
#include <features.h>
#include <errno.h>
-extern const char _string_syserrmsgs[];
+extern const char _string_syserrmsgs[] attribute_hidden;
#ifdef __UCLIBC_HAS_SYS_ERRLIST__