From 42c1ad48fa946f00d67d0b023f50e5d6d8fc293f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 10 Mar 2006 16:20:23 +0000 Subject: Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back --- libc/inet/herror.c | 1 - libc/inet/resolv.c | 2 -- libc/inet/rpc/auth_unix.c | 1 - libc/inet/rpc/clnt_tcp.c | 1 - libc/inet/rpc/clnt_udp.c | 1 - libc/inet/rpc/clnt_unix.c | 1 - libc/inet/rpc/rcmd.c | 1 - libc/inet/rpc/rpc_private.h | 1 - libc/inet/rpc/svc_tcp.c | 1 - libc/inet/rpc/svc_udp.c | 1 - libc/inet/rpc/svc_unix.c | 1 - libc/inet/rpc/xdr.c | 1 - libc/inet/rpc/xdr_array.c | 1 - libc/inet/rpc/xdr_rec.c | 1 - libc/inet/rpc/xdr_reference.c | 1 - 15 files changed, 16 deletions(-) (limited to 'libc/inet') diff --git a/libc/inet/herror.c b/libc/inet/herror.c index 66626c0a8..063f6e93e 100644 --- a/libc/inet/herror.c +++ b/libc/inet/herror.c @@ -25,7 +25,6 @@ libc_hidden_proto(fprintf) libc_hidden_proto(__h_errno_location) -libc_hidden_proto(stderr) static const char *error_msg = "Resolver error"; static const char *const h_errlist[] = { 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 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_mutex_t __resolv_lock = PTHREAD_MUTEX_INITIALIZER; -libc_hidden_data_def(__resolv_lock) #endif /* diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c index 7644ab276..80b60b56b 100644 --- a/libc/inet/rpc/auth_unix.c +++ b/libc/inet/rpc/auth_unix.c @@ -69,7 +69,6 @@ libc_hidden_proto(gettimeofday) libc_hidden_proto(fputs) libc_hidden_proto(perror) libc_hidden_proto(abort) -libc_hidden_proto(stderr) #ifdef USE_IN_LIBIO libc_hidden_proto(fwprintf) #endif diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c index 6d19df31c..23e4ca863 100644 --- a/libc/inet/rpc/clnt_tcp.c +++ b/libc/inet/rpc/clnt_tcp.c @@ -85,7 +85,6 @@ libc_hidden_proto(bindresvport) libc_hidden_proto(poll) libc_hidden_proto(fputs) libc_hidden_proto(__rpc_thread_createerr) -libc_hidden_proto(stderr) #ifdef USE_IN_LIBIO libc_hidden_proto(fwprintf) #endif diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c index 9b01d2751..9e3444069 100644 --- a/libc/inet/rpc/clnt_udp.c +++ b/libc/inet/rpc/clnt_udp.c @@ -84,7 +84,6 @@ libc_hidden_proto(recvmsg) libc_hidden_proto(poll) libc_hidden_proto(fputs) libc_hidden_proto(__rpc_thread_createerr) -libc_hidden_proto(stderr) extern u_long _create_xid (void) attribute_hidden; diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c index c5e949db6..82f994e51 100644 --- a/libc/inet/rpc/clnt_unix.c +++ b/libc/inet/rpc/clnt_unix.c @@ -87,7 +87,6 @@ libc_hidden_proto(sendmsg) libc_hidden_proto(poll) libc_hidden_proto(fputs) libc_hidden_proto(__rpc_thread_createerr) -libc_hidden_proto(stderr) extern u_long _create_xid (void) attribute_hidden; diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index b4fe8cfe7..ee47cf4f5 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -132,7 +132,6 @@ libc_hidden_proto(fopen) libc_hidden_proto(fclose) libc_hidden_proto(fprintf) libc_hidden_proto(__h_errno_location) -libc_hidden_proto(stderr) #ifdef __UCLIBC_HAS_XLOCALE__ libc_hidden_proto(__ctype_b_loc) libc_hidden_proto(__ctype_tolower_loc) diff --git a/libc/inet/rpc/rpc_private.h b/libc/inet/rpc/rpc_private.h index 4826d362b..15250059a 100644 --- a/libc/inet/rpc/rpc_private.h +++ b/libc/inet/rpc/rpc_private.h @@ -5,7 +5,6 @@ extern u_long _create_xid (void) attribute_hidden; libc_hidden_proto(__rpc_thread_createerr) -libc_hidden_proto(stderr) /* * Multi-threaded support diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c index c94f2de07..035119d7e 100644 --- a/libc/inet/rpc/svc_tcp.c +++ b/libc/inet/rpc/svc_tcp.c @@ -83,7 +83,6 @@ libc_hidden_proto(listen) libc_hidden_proto(fputs) libc_hidden_proto(fclose) libc_hidden_proto(abort) -libc_hidden_proto(stderr) /* * Ops vector for TCP/IP based rpc service handle diff --git a/libc/inet/rpc/svc_udp.c b/libc/inet/rpc/svc_udp.c index 53ef7ab35..d2ed68d1b 100644 --- a/libc/inet/rpc/svc_udp.c +++ b/libc/inet/rpc/svc_udp.c @@ -81,7 +81,6 @@ libc_hidden_proto(recvmsg) libc_hidden_proto(sendmsg) libc_hidden_proto(fputs) libc_hidden_proto(fprintf) -libc_hidden_proto(stderr) #define rpc_buffer(xprt) ((xprt)->xp_p1) #ifndef MAX diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c index d91a9acbb..1683bd3ba 100644 --- a/libc/inet/rpc/svc_unix.c +++ b/libc/inet/rpc/svc_unix.c @@ -82,7 +82,6 @@ libc_hidden_proto(accept) libc_hidden_proto(listen) libc_hidden_proto(fputs) libc_hidden_proto(abort) -libc_hidden_proto(stderr) /* * Ops vector for AF_UNIX based rpc service handle diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c index 34787a898..e8009910f 100644 --- a/libc/inet/rpc/xdr.c +++ b/libc/inet/rpc/xdr.c @@ -58,7 +58,6 @@ libc_hidden_proto(fwprintf) libc_hidden_proto(strlen) libc_hidden_proto(fputs) -libc_hidden_proto(stderr) /* * constants specific to the xdr "protocol" diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c index ddafc63b7..5f21fb29e 100644 --- a/libc/inet/rpc/xdr_array.c +++ b/libc/inet/rpc/xdr_array.c @@ -57,7 +57,6 @@ libc_hidden_proto(fwprintf) libc_hidden_proto(memset) libc_hidden_proto(fputs) libc_hidden_proto(xdr_u_int) -libc_hidden_proto(stderr) #define LASTUNSIGNED ((u_int)0-1) diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c index 99e6fe9c3..5f9e2b1fe 100644 --- a/libc/inet/rpc/xdr_rec.c +++ b/libc/inet/rpc/xdr_rec.c @@ -63,7 +63,6 @@ libc_hidden_proto(fwprintf) libc_hidden_proto(memcpy) libc_hidden_proto(fputs) libc_hidden_proto(lseek) -libc_hidden_proto(stderr) static bool_t xdrrec_getlong (XDR *, long *); static bool_t xdrrec_putlong (XDR *, const long *); diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c index 842d54426..7201def7a 100644 --- a/libc/inet/rpc/xdr_reference.c +++ b/libc/inet/rpc/xdr_reference.c @@ -58,7 +58,6 @@ libc_hidden_proto(fwprintf) libc_hidden_proto(memset) libc_hidden_proto(xdr_bool) libc_hidden_proto(fputs) -libc_hidden_proto(stderr) #define LASTUNSIGNED ((u_int)0-1) -- cgit v1.2.3