summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:30:39 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:30:39 +0000
commit0c033f3d8ac6d045cd7113e665f5db0e40d787f9 (patch)
treea46a8b2b3fd7c7584fc453c5d6a1f36cc0401c11 /libc
parentbbaba878aa18c93c4d0a48143d4d3eebadf02529 (diff)
hide internal _string_syserrmsgs
Diffstat (limited to 'libc')
-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__