summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:22:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:22:45 +0000
commitf45706ca6ade259d2cf9397c35b0135991470197 (patch)
treee21580a7be5c6ab7c2e0ddd7be61b6a2f9c23bf5 /libc/inet/resolv.c
parent2fe646ffaa4a775a63d850a3591824e5cb85d13c (diff)
global data uses libc_hidden_data_def, convert all -I hope- and add some new
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 885413db8..9b9a42aa3 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -237,6 +237,7 @@ extern char * __searchdomain[MAX_SEARCH] attribute_hidden;
#ifdef __UCLIBC_HAS_THREADS__
# include <pthread.h>
extern pthread_mutex_t __resolv_lock;
+libc_hidden_proto(__resolv_lock)
#endif
#define BIGLOCK __pthread_mutex_lock(&__resolv_lock)
#define BIGUNLOCK __pthread_mutex_unlock(&__resolv_lock)
@@ -1021,6 +1022,7 @@ char * __searchdomain[MAX_SEARCH];
#ifdef __UCLIBC_HAS_THREADS__
# include <pthread.h>
pthread_mutex_t __resolv_lock = PTHREAD_MUTEX_INITIALIZER;
+libc_hidden_data_def(__resolv_lock)
#endif
/*