diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc_com.h | 3 | ||||
-rw-r--r-- | src/svc.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/rpc_com.h b/src/rpc_com.h index 10bec79..76badef 100644 --- a/src/rpc_com.h +++ b/src/rpc_com.h @@ -61,8 +61,7 @@ void __xprt_unregister_unlocked(SVCXPRT *); void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *); -SVCXPRT **__svc_xports; -int __svc_maxrec; +extern int __svc_maxrec; #ifdef __cplusplus } @@ -57,6 +57,9 @@ #define max(a, b) (a > b ? a : b) +static SVCXPRT **__svc_xports; +int __svc_maxrec; + /* * The services list * Each entry represents a set of procedures (an rpc program). |