summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2005-07-30 01:02:57 +0000
committerManuel Novoa III <mjn3@codepoet.org>2005-07-30 01:02:57 +0000
commited952e89a6a10560d4e65fc508ab47fbb63dd60f (patch)
tree923f8506dd17976b7a96ac0ded13a136c98117b8 /libc/string
parent7e5c79bcc67d3f45f1d310eefc40f39330008628 (diff)
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.
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/wstring.c4
1 files changed, 2 insertions, 2 deletions
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