diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/include/rpcmisc.h | 2 | ||||
-rw-r--r-- | support/nfs/rpcmisc.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h index a2b2b5a..d999ab9 100644 --- a/support/include/rpcmisc.h +++ b/support/include/rpcmisc.h @@ -41,8 +41,6 @@ struct rpc_dtable { (xdrproc_t)xdr_##res_type, sizeof(res_type), \ } - -int makesock(int port, int proto); void rpc_init(char *name, int prog, int vers, void (*dispatch)(struct svc_req *, SVCXPRT *), int defport); 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; |