svn commit: trunk/uClibc/libc/inet/rpc

psm at uclibc.org psm at uclibc.org
Thu Mar 9 09:09:53 UTC 2006


Author: psm
Date: 2006-03-09 01:09:51 -0800 (Thu, 09 Mar 2006)
New Revision: 14478

Log:
Get rid of nested extern warnings if threads are disabled

Modified:
   trunk/uClibc/libc/inet/rpc/rpc_thread.c


Changeset:
Modified: trunk/uClibc/libc/inet/rpc/rpc_thread.c
===================================================================
--- trunk/uClibc/libc/inet/rpc/rpc_thread.c	2006-03-09 09:03:37 UTC (rev 14477)
+++ trunk/uClibc/libc/inet/rpc/rpc_thread.c	2006-03-09 09:09:51 UTC (rev 14478)
@@ -137,27 +137,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