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.17 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/a9c4edabe026
branches: netbsd-1-4
changeset: 471089:a9c4edabe026
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:32:29 2000 +0000
description:
Pull up revision 1.17 (requested by he):
Format string cleanup.
diffstat:
usr.bin/rpcgen/rpc_cout.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f7c1cc3a1c96 -r a9c4edabe026 usr.bin/rpcgen/rpc_cout.c
--- a/usr.bin/rpcgen/rpc_cout.c Thu Oct 19 16:32:27 2000 +0000
+++ b/usr.bin/rpcgen/rpc_cout.c Thu Oct 19 16:32:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_cout.c,v 1.15 1998/12/19 21:19:11 christos Exp $ */
+/* $NetBSD: rpc_cout.c,v 1.15.2.1 2000/10/19 16:32:29 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_cout.c 1.13 89/02/22 (C) 1987 SMI";
#else
-__RCSID("$NetBSD: rpc_cout.c,v 1.15 1998/12/19 21:19:11 christos Exp $");
+__RCSID("$NetBSD: rpc_cout.c,v 1.15.2.1 2000/10/19 16:32:29 he Exp $");
#endif
#endif
@@ -346,8 +346,8 @@
case_list *cl;
declaration *cs;
char *object;
- char *vecformat = "objp->%s_u.%s";
- char *format = "&objp->%s_u.%s";
+ const char vecformat[] = "objp->%s_u.%s";
+ const char format[] = "&objp->%s_u.%s";
f_print(fout, "\n");
print_stat(1, &def->def.un.enum_decl);
Home |
Main Index |
Thread Index |
Old Index