Module Name: src
Committed By: christos
Date: Sun Nov 8 01:59:31 UTC 2015
Modified Files:
src/usr.bin/rpcgen: rpc_svcout.c
Log Message:
Delete extra declaration of svc_fdset... And some commented out code.
This badly needs some modernization.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/rpcgen/rpc_svcout.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/rpcgen/rpc_svcout.c
diff -u src/usr.bin/rpcgen/rpc_svcout.c:1.30 src/usr.bin/rpcgen/rpc_svcout.c:1.31
--- src/usr.bin/rpcgen/rpc_svcout.c:1.30 Sun Sep 20 11:52:11 2015
+++ src/usr.bin/rpcgen/rpc_svcout.c Sat Nov 7 20:59:31 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_svcout.c,v 1.30 2015/09/20 15:52:11 kamil Exp $ */
+/* $NetBSD: rpc_svcout.c,v 1.31 2015/11/08 01:59:31 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_svcout.c,v 1.30 2015/09/20 15:52:11 kamil Exp $");
+__RCSID("$NetBSD: rpc_svcout.c,v 1.31 2015/11/08 01:59:31 christos Exp $");
#endif
#endif
@@ -652,7 +652,6 @@ write_timeout_func(void)
f_print(fout, "closedown(void)\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) {
@@ -738,8 +737,6 @@ write_pm_most(char *infile, int netflag)
}
if (timerflag)
f_print(fout, "\t\tint pmclose;\n");
-/* not necessary, defined in /usr/include/stdlib */
-/* f_print(fout, "\t\textern char *getenv();\n");*/
f_print(fout, "\n");
f_print(fout, "\t\t_rpcpmstart = 1;\n");
if (logflag)