aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_thread.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-03 05:08:17 +0000
committerRoland McGrath <roland@gnu.org>2002-08-03 05:08:17 +0000
commitb50fca08b430fc0010ce6a1f8ba577bc78eb80b3 (patch)
treed3a0009aa6f8ce28cacbc9c251d028438dc95a22 /sunrpc/rpc_thread.c
parent447f8449ea815f365d8e0cda9eb231a3bcd26161 (diff)
downloadglibc-b50fca08b430fc0010ce6a1f8ba577bc78eb80b3.zip
glibc-b50fca08b430fc0010ce6a1f8ba577bc78eb80b3.tar.gz
glibc-b50fca08b430fc0010ce6a1f8ba577bc78eb80b3.tar.bz2
2002-08-02 Roland McGrath <roland@redhat.com>
* include/rpc/rpc.h: Declare RPC_VARS tsd as extern. * sunrpc/rpc_thread.c: Define it without static.
Diffstat (limited to 'sunrpc/rpc_thread.c')
-rw-r--r--sunrpc/rpc_thread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index b9f4f58..312ca8c 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -10,11 +10,7 @@
/* Variable used in non-threaded applications or for the first thread. */
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
-#if USE_TLS && HAVE___THREAD
__libc_tsd_define (, RPC_VARS)
-#else
-__libc_tsd_define (static, RPC_VARS)
-#endif
/*
* Task-variable destructor
@@ -89,7 +85,6 @@ __rpc_thread_svc_fdset (void)
return &svc_fdset;
return &tvp->svc_fdset_s;
}
-libc_hidden_def (__rpc_thread_svc_fdset)
struct rpc_createerr *
__rpc_thread_createerr (void)
@@ -101,7 +96,6 @@ __rpc_thread_createerr (void)
return &rpc_createerr;
return &tvp->rpc_createerr_s;
}
-libc_hidden_def (__rpc_thread_createerr)
struct pollfd **
__rpc_thread_svc_pollfd (void)