Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/rpcgen Pull up revision 1.8 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/777391c91c63
branches: netbsd-1-4
changeset: 471093:777391c91c63
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:32:41 2000 +0000
description:
Pull up revision 1.8 (requested by he):
Format string cleanup.
diffstat:
usr.bin/rpcgen/rpc_tblout.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r b829f1f7c6ab -r 777391c91c63 usr.bin/rpcgen/rpc_tblout.c
--- a/usr.bin/rpcgen/rpc_tblout.c Thu Oct 19 16:32:38 2000 +0000
+++ b/usr.bin/rpcgen/rpc_tblout.c Thu Oct 19 16:32:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_tblout.c,v 1.7 1997/10/18 10:54:11 lukem Exp $ */
+/* $NetBSD: rpc_tblout.c,v 1.7.4.1 2000/10/19 16:32:41 he 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
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI";
#else
-__RCSID("$NetBSD: rpc_tblout.c,v 1.7 1997/10/18 10:54:11 lukem Exp $");
+__RCSID("$NetBSD: rpc_tblout.c,v 1.7.4.1 2000/10/19 16:32:41 he Exp $");
#endif
#endif
@@ -54,14 +54,14 @@
static char tabstr[TABCOUNT + 1] = "\t\t\t\t\t";
-static char tbl_hdr[] = "struct rpcgen_table %s_table[] = {\n";
-static char tbl_end[] = "};\n";
+static const char tbl_hdr[] = "struct rpcgen_table %s_table[] = {\n";
+static const char tbl_end[] = "};\n";
-static char null_entry[] = "\t(char *(*)())0,\n\
+static const char null_entry[] = "\t(char *(*)())0,\n\
\t(xdrproc_t)xdr_void,\t\t0,\n\
\t(xdrproc_t)xdr_void,\t\t0,\n";
-static char tbl_nproc[] = "int %s_nproc =\n\tsizeof(%s_table)/sizeof(%s_table[0]);\n\n";
+static const char tbl_nproc[] = "int %s_nproc =\n\tsizeof(%s_table)/sizeof(%s_table[0]);\n\n";
static void write_table __P((definition *));
static void printit __P((char *, char *));
Home |
Main Index |
Thread Index |
Old Index