From ed952e89a6a10560d4e65fc508ab47fbb63dd60f Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 30 Jul 2005 01:02:57 +0000 Subject: sjhill appears confused. vapier's earlier commit of string.h was broken. But I fixed it, and tested both x86 (locale) and mipsel before I commited the fixes. Just built with gcc 4.0.1 to see if that was the cause of his problems, but x86 (locale) built fine. So revert his last change. --- libc/string/wstring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc') diff --git a/libc/string/wstring.c b/libc/string/wstring.c index 6e4d895b6..6f54ae615 100644 --- a/libc/string/wstring.c +++ b/libc/string/wstring.c @@ -1571,6 +1571,8 @@ int __xpg_strerror_r(int errnum, char *strerrbuf, size_t buflen) /**********************************************************************/ #ifdef L___glibc_strerror_r +weak_alias(__glibc_strerror_r,__strerror_r); + char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen) { __xpg_strerror_r(errnum, strerrbuf, buflen); @@ -1578,8 +1580,6 @@ char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen) return strerrbuf; } -weak_alias(__glibc_strerror_r,__strerror_r); - #endif /**********************************************************************/ #ifdef L_memmem -- cgit v1.2.3