]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/rpcmisc.c
2001-03-21 H.J. Lu <hjl@lucon.org>
[nfs-utils.git] / support / nfs / rpcmisc.c
index 7a9de1c733b9506cece74ebf345a8911b9c7c451..4c0906d883e35629e7f7d329bbb40a8b54d978f3 100644 (file)
@@ -33,7 +33,7 @@
 #include "nfslib.h"
 
 static void    closedown(int sig);
 #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;
 
 #define _RPCSVC_CLOSEDOWN      120
 int    _rpcpmstart = 0;
@@ -145,9 +145,7 @@ int sig;
        (void) alarm(_RPCSVC_CLOSEDOWN);
 }
 
        (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;
 {
        struct sockaddr_in sin;
        int     s;