From 0c033f3d8ac6d045cd7113e665f5db0e40d787f9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 11:30:39 +0000 Subject: hide internal _string_syserrmsgs --- libc/string/__xpg_strerror_r.c | 2 +- libc/string/_string_syserrmsgs.c | 1 + libc/string/sys_errlist.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/string') 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 #include -extern const char _string_syserrmsgs[]; +extern const char _string_syserrmsgs[] attribute_hidden; #ifdef __UCLIBC_HAS_SYS_ERRLIST__ -- cgit v1.2.3