summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/string/_string_syssigmsgs.c1
-rw-r--r--libc/string/strsignal.c2
-rw-r--r--libc/string/sys_siglist.c2
3 files changed, 3 insertions, 2 deletions
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 <stddef.h>
#include <signal.h>
-extern const char _string_syssigmsgs[];
+extern const char _string_syssigmsgs[] attribute_hidden;
#ifdef __UCLIBC_HAS_SYS_SIGLIST__