From: chip Date: Mon, 2 Apr 2001 01:46:00 +0000 (+0000) Subject: 2001-04-01 Chip Salzenberg X-Git-Tag: nfs-utils-0-3-2-pre4~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0589851d086dae1d6b858d442367835591dd0107;p=nfs-utils.git 2001-04-01 Chip Salzenberg * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove redundant, and sometimes broken, declaration of svc_fdset; it may be a macro. * support/nfs/rpcmisc.c (closedown): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 7601e6a..2b7f8dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-04-01 Chip Salzenberg + + * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove + redundant, and sometimes broken, declaration of svc_fdset; + it may be a macro. + * support/nfs/rpcmisc.c (closedown): Likewise. + 2001-03-21 H.J. Lu * nfs-utils.spec: Regenerated. diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c index 4c0906d..6eb24a2 100644 --- a/support/nfs/rpcmisc.c +++ b/support/nfs/rpcmisc.c @@ -127,7 +127,6 @@ int sig; { (void) signal(sig, closedown); if (_rpcsvcdirty == 0) { - extern fd_set svc_fdset; static int size; int i, openfd; diff --git a/tools/rpcgen/rpc_svcout.c b/tools/rpcgen/rpc_svcout.c index f9ef79d..fa5fb60 100644 --- a/tools/rpcgen/rpc_svcout.c +++ b/tools/rpcgen/rpc_svcout.c @@ -632,7 +632,6 @@ write_timeout_func(void) f_print(fout, "closedown()\n"); f_print(fout, "{\n"); f_print(fout, "\tif (_rpcsvcdirty == 0) {\n"); - f_print(fout, "\t\textern fd_set svc_fdset;\n"); f_print(fout, "\t\tstatic int size;\n"); f_print(fout, "\t\tint i, openfd;\n"); if (tirpcflag && pmflag) {