summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
commit42c1ad48fa946f00d67d0b023f50e5d6d8fc293f (patch)
treef510bb36f58711b809103832fa826b0de13df593 /libc/inet/resolv.c
parent7747ec45650949ca4712be8e2cbc0588c0922982 (diff)
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 9b9a42aa3..885413db8 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -237,7 +237,6 @@ 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)
@@ -1022,7 +1021,6 @@ 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
/*