remove the shared object stubs of libnsl and libresolv - let the compiler use the...
[openwrt/staging/yousong.git] / toolchain / uClibc / patches-0.9.31 / 904-pthread_errno_fix.patch
1 --- a/libpthread/linuxthreads.old/errno.c
2 +++ b/libpthread/linuxthreads.old/errno.c
3 @@ -22,6 +22,7 @@
4 #include "internals.h"
5 #include <stdio.h>
6
7 +libpthread_hidden_proto(__errno_location)
8 int *
9 __errno_location (void)
10 {
11 @@ -29,6 +30,7 @@ __errno_location (void)
12 return THREAD_GETMEM (self, p_errnop);
13 }
14
15 +libpthread_hidden_proto(__h_errno_location)
16 int *
17 __h_errno_location (void)
18 {