summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:04:36 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:04:36 +0000
commit67f600f0d4301a3a69eaf5b0383a58824af8c464 (patch)
treed2c9c8f62b848d41198d035653f2f7249812b6a5 /libc
parent2cd4f26b8eeb6c7764c2b107ca9ae875d5e1b3b6 (diff)
downloaduClibc-alpine-67f600f0d4301a3a69eaf5b0383a58824af8c464.tar.bz2
uClibc-alpine-67f600f0d4301a3a69eaf5b0383a58824af8c464.tar.xz
Use TLS data storage function.
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/rpc/rpc_thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index 4031b77be..b42fab6e0 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -138,27 +138,27 @@ __rpc_thread_svc_max_pollfd (void)
#undef svc_pollfd
#undef svc_max_pollfd
+extern fd_set svc_fdset;
fd_set * __rpc_thread_svc_fdset (void)
{
- extern fd_set svc_fdset;
return &(svc_fdset);
}
+extern struct rpc_createerr rpc_createerr;
struct rpc_createerr * __rpc_thread_createerr (void)
{
- extern struct rpc_createerr rpc_createerr;
return &(rpc_createerr);
}
+extern struct pollfd *svc_pollfd;
struct pollfd ** __rpc_thread_svc_pollfd (void)
{
- extern struct pollfd *svc_pollfd;
return &(svc_pollfd);
}
+extern int svc_max_pollfd;
int * __rpc_thread_svc_max_pollfd (void)
{
- extern int svc_max_pollfd;
return &(svc_max_pollfd);
}