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