X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Frpcmisc.c;h=7a9de1c733b9506cece74ebf345a8911b9c7c451;hp=4c0906d883e35629e7f7d329bbb40a8b54d978f3;hb=b63400dcb05eee79666bade57558279fd15f0318;hpb=919f0cf78ab9d180fb11beb9c8d6c9dcefa6df9a diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c index 4c0906d..7a9de1c 100644 --- a/support/nfs/rpcmisc.c +++ b/support/nfs/rpcmisc.c @@ -33,7 +33,7 @@ #include "nfslib.h" static void closedown(int sig); -int makesock(int port, int proto); +static int makesock(int port, int proto); #define _RPCSVC_CLOSEDOWN 120 int _rpcpmstart = 0; @@ -145,7 +145,9 @@ int sig; (void) alarm(_RPCSVC_CLOSEDOWN); } -int makesock(int port, int proto) +static int makesock(port, proto) +int port; +int proto; { struct sockaddr_in sin; int s;