From ff6418fcf94d0e0d9a62ffc371479ff4b0f7791d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 11:40:56 +0000 Subject: hide internal _string_syssigmsgs symbol --- libc/string/_string_syssigmsgs.c | 1 + libc/string/strsignal.c | 2 +- libc/string/sys_siglist.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/string') diff --git a/libc/string/_string_syssigmsgs.c b/libc/string/_string_syssigmsgs.c index 4a94ddf4f..a89f582b4 100644 --- a/libc/string/_string_syssigmsgs.c +++ b/libc/string/_string_syssigmsgs.c @@ -9,6 +9,7 @@ #ifdef __UCLIBC_HAS_SIGNUM_MESSAGES__ +attribute_hidden const char _string_syssigmsgs[] = { /* 0: 0, 1 */ "\0" /* 1: 1, 7 */ "Hangup\0" diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c index 7d7f613fe..13aa3b1ad 100644 --- a/libc/string/strsignal.c +++ b/libc/string/strsignal.c @@ -35,7 +35,7 @@ #ifdef __UCLIBC_HAS_SIGNUM_MESSAGES__ -extern const char _string_syssigmsgs[]; +extern const char _string_syssigmsgs[] attribute_hidden; #if defined(__alpha__) || defined(__mips__) || defined(__hppa__) || defined(__sparc__) static const unsigned char sstridx[] = { diff --git a/libc/string/sys_siglist.c b/libc/string/sys_siglist.c index 9337d00a9..0f69856ba 100644 --- a/libc/string/sys_siglist.c +++ b/libc/string/sys_siglist.c @@ -10,7 +10,7 @@ #include #include -extern const char _string_syssigmsgs[]; +extern const char _string_syssigmsgs[] attribute_hidden; #ifdef __UCLIBC_HAS_SYS_SIGLIST__ -- cgit v1.2.3