X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Fnfs%2Frpcmisc.c;h=4c0906d883e35629e7f7d329bbb40a8b54d978f3;hb=refs%2Ftags%2Fnfs-utils-0-3-2-pre3;hp=64bc802d96c5417945770d2d04a87942c3964aeb;hpb=0bdb8d4f216cafb4fef03c9a1fc1f87508eed2d3;p=nfs-utils.git diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c index 64bc802..4c0906d 100644 --- a/support/nfs/rpcmisc.c +++ b/support/nfs/rpcmisc.c @@ -29,10 +29,11 @@ #include #include #include +#include #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; @@ -144,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;