X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Frpcmisc.c;fp=support%2Fnfs%2Frpcmisc.c;h=4c0906d883e35629e7f7d329bbb40a8b54d978f3;hp=7a9de1c733b9506cece74ebf345a8911b9c7c451;hb=9ee7da8230adead93a1b42b1ac2c78e02227fe15;hpb=2d60c14684d1f7bb8b15428e5f76c34888a462b9 diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c index 7a9de1c..4c0906d 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; @@ -145,9 +145,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;