X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Frpcmisc.c;h=6eb24a2b3a5237a3be088589e8fadb2305d68914;hp=7a9de1c733b9506cece74ebf345a8911b9c7c451;hb=0589851d086dae1d6b858d442367835591dd0107;hpb=90685386b135529ed2738e0d1daab4dd2104b251 diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c index 7a9de1c..6eb24a2 100644 --- a/support/nfs/rpcmisc.c +++ b/support/nfs/rpcmisc.c @@ -33,7 +33,7 @@ #include "nfslib.h" static void closedown(int sig); -static int makesock(int port, int proto); +int makesock(int port, int proto); #define _RPCSVC_CLOSEDOWN 120 int _rpcpmstart = 0; @@ -127,7 +127,6 @@ int sig; { (void) signal(sig, closedown); if (_rpcsvcdirty == 0) { - extern fd_set svc_fdset; static int size; int i, openfd; @@ -145,9 +144,7 @@ int sig; (void) alarm(_RPCSVC_CLOSEDOWN); } -static int makesock(port, proto) -int port; -int proto; +int makesock(int port, int proto) { struct sockaddr_in sin; int s;