Browse Source

hide internal _string_syserrmsgs

Mike Frysinger 18 years ago
parent
commit
0c033f3d8a
3 changed files with 3 additions and 2 deletions
  1. 1 1
      libc/string/__xpg_strerror_r.c
  2. 1 0
      libc/string/_string_syserrmsgs.c
  3. 1 1
      libc/string/sys_errlist.c

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

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

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