]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/rpcmisc.c
2001-03-11 H.J. Lu <hjl@lucon.org>
[nfs-utils.git] / support / nfs / rpcmisc.c
index 4c0906d883e35629e7f7d329bbb40a8b54d978f3..7a9de1c733b9506cece74ebf345a8911b9c7c451 100644 (file)
@@ -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;