diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-30 00:03:07 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-30 00:03:07 +0000 |
commit | 7e5c79bcc67d3f45f1d310eefc40f39330008628 (patch) | |
tree | 348e70e826fb98e88b8f50ab00e69d8eb3b85dae /libc | |
parent | c78cc09f59408171189bcda4f373ae70698dc3b4 (diff) |
The newly added __glibc_strerror_r function is probably fine, but the
uClibc did not even compile or link without errors. This fixes that
up. Please test more thoroughly next time.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/string/wstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c index 6f54ae615..6e4d895b6 100644 --- a/libc/string/wstring.c +++ b/libc/string/wstring.c @@ -1571,8 +1571,6 @@ 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); @@ -1580,6 +1578,8 @@ char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen) return strerrbuf; } +weak_alias(__glibc_strerror_r,__strerror_r); + #endif /**********************************************************************/ #ifdef L_memmem |