]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 7601e6a8739ceba1fe416de30994af6b797e5c7d..2b7f8ddcb7bd741f06b799437dc4b198f454d6c6 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 4c0906d883e35629e7f7d329bbb40a8b54d978f3..6eb24a2b3a5237a3be088589e8fadb2305d68914 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 f9ef79d62be1aa1920ddd952eb642e33e512eaa1..fa5fb602ab59137c1030a8478f2d270d9eef0b2a 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) {