]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/rpcmisc.c
2001-04-01 Chip Salzenberg <chip@valinux.com>
[nfs-utils.git] / support / nfs / rpcmisc.c
index 7a9de1c733b9506cece74ebf345a8911b9c7c451..6eb24a2b3a5237a3be088589e8fadb2305d68914 100644 (file)
@@ -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;