2001-04-01 Chip Salzenberg <chip@valinux.com>
authorchip <chip>
Mon, 2 Apr 2001 01:46:00 +0000 (01:46 +0000)
committerchip <chip>
Mon, 2 Apr 2001 01:46:00 +0000 (01:46 +0000)
* 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.

ChangeLog
support/nfs/rpcmisc.c
tools/rpcgen/rpc_svcout.c

index 7601e6a..2b7f8dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-04-01  Chip Salzenberg  <chip@valinux.com>
+
+       * 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 <hjl@lucon.org>
 
        * nfs-utils.spec: Regenerated.
index 4c0906d..6eb24a2 100644 (file)
@@ -127,7 +127,6 @@ int sig;
 {
        (void) signal(sig, closedown);
        if (_rpcsvcdirty == 0) {
-               extern fd_set svc_fdset;
                static int size;
                int i, openfd;
 
index f9ef79d..fa5fb60 100644 (file)
@@ -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) {