svn commit: trunk/uClibc/libc/string

vapier at uclibc.org vapier at uclibc.org
Sun Jan 8 11:30:40 UTC 2006


Author: vapier
Date: 2006-01-08 03:30:39 -0800 (Sun, 08 Jan 2006)
New Revision: 13168

Log:
hide internal _string_syserrmsgs

Modified:
   trunk/uClibc/libc/string/__xpg_strerror_r.c
   trunk/uClibc/libc/string/_string_syserrmsgs.c
   trunk/uClibc/libc/string/sys_errlist.c


Changeset:
Modified: trunk/uClibc/libc/string/__xpg_strerror_r.c
===================================================================
--- trunk/uClibc/libc/string/__xpg_strerror_r.c	2006-01-08 11:28:06 UTC (rev 13167)
+++ trunk/uClibc/libc/string/__xpg_strerror_r.c	2006-01-08 11:30:39 UTC (rev 13168)
@@ -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__)
 

Modified: trunk/uClibc/libc/string/_string_syserrmsgs.c
===================================================================
--- trunk/uClibc/libc/string/_string_syserrmsgs.c	2006-01-08 11:28:06 UTC (rev 13167)
+++ trunk/uClibc/libc/string/_string_syserrmsgs.c	2006-01-08 11:30:39 UTC (rev 13168)
@@ -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"

Modified: trunk/uClibc/libc/string/sys_errlist.c
===================================================================
--- trunk/uClibc/libc/string/sys_errlist.c	2006-01-08 11:28:06 UTC (rev 13167)
+++ trunk/uClibc/libc/string/sys_errlist.c	2006-01-08 11:30:39 UTC (rev 13168)
@@ -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__
 




More information about the uClibc-cvs mailing list