diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-09 09:09:51 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-09 09:09:51 +0000 |
commit | 0a2d6f6c7c0db4d109d4d8098bd50ddaa57de24c (patch) | |
tree | 40f65ff951d2714168099caed7f9dcde7c66716c | |
parent | 078d738e36cff9e80b96cda236d66d1e428f4ca8 (diff) |
Get rid of nested extern warnings if threads are disabled
-rw-r--r-- | libc/inet/rpc/rpc_thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c index fb9ddadc3..2c7b8c1ea 100644 --- a/libc/inet/rpc/rpc_thread.c +++ b/libc/inet/rpc/rpc_thread.c @@ -137,27 +137,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); } |