فهرست منبع

hide internal _string_syssigmsgs symbol

Mike Frysinger 19 سال پیش
والد
کامیت
ff6418fcf9
3فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 1 0
      libc/string/_string_syssigmsgs.c
  2. 1 1
      libc/string/strsignal.c
  3. 1 1
      libc/string/sys_siglist.c

+ 1 - 0
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"

+ 1 - 1
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[] = {

+ 1 - 1
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__