svn commit: branches/uClibc-nptl/libc/inet/rpc
sjhill at uclibc.org
sjhill at uclibc.org
Mon Aug 21 04:04:37 UTC 2006
Author: sjhill
Date: 2006-08-20 21:04:36 -0700 (Sun, 20 Aug 2006)
New Revision: 15862
Log:
Use TLS data storage function.
Modified:
branches/uClibc-nptl/libc/inet/rpc/rpc_thread.c
Changeset:
Modified: branches/uClibc-nptl/libc/inet/rpc/rpc_thread.c
===================================================================
--- branches/uClibc-nptl/libc/inet/rpc/rpc_thread.c 2006-08-21 04:01:58 UTC (rev 15861)
+++ branches/uClibc-nptl/libc/inet/rpc/rpc_thread.c 2006-08-21 04:04:36 UTC (rev 15862)
@@ -138,27 +138,27 @@
#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);
}
More information about the uClibc-cvs
mailing list