diff options
author | hjl <hjl> | 2001-03-11 02:54:00 +0000 |
---|---|---|
committer | hjl <hjl> | 2001-03-11 02:54:00 +0000 |
commit | 012d7fd50654b1623e63c447905187929e559cff (patch) | |
tree | 6b2ad84bd781cfae44fd9eeba4c83b5e203ff05d /support/nfs/rpcmisc.c | |
parent | 37f276f0627733598230b3953e07be146257619f (diff) | |
download | nfs-utils-012d7fd50654b1623e63c447905187929e559cff.tar.gz nfs-utils-012d7fd50654b1623e63c447905187929e559cff.tar.xz nfs-utils-012d7fd50654b1623e63c447905187929e559cff.zip |
2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
* utils/rquotad/rquotad.man: Updated for -p.
* utils/statd/statd.man: Likewise.
2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
* support/nfs/rpcmisc.[ch]: export makesock()
* utils/statd/statd.c: added longopts, added support for
specifying the port to bind to on the command line.
* utils/statd/statd.c: ditto, also specify port used for
outgoing connections.
* utils/statd/Makefile (LIBS): link with our own libnfs
Diffstat (limited to 'support/nfs/rpcmisc.c')
-rw-r--r-- | support/nfs/rpcmisc.c | 6 |
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; |