summaryrefslogtreecommitdiffstats
path: root/support/nfs/rpcmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs/rpcmisc.c')
-rw-r--r--support/nfs/rpcmisc.c6
1 files changed, 4 insertions, 2 deletions
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;