Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/rpcgen PR/18866: David A. Holland: missing const key...



details:   https://anonhg.NetBSD.org/src/rev/dfa46575effe
branches:  trunk
changeset: 538816:dfa46575effe
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 31 02:05:35 2002 +0000

description:
PR/18866: David A. Holland: missing const keyword in rpcgen output

diffstat:

 usr.bin/rpcgen/rpc_svcout.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b1de59385184 -r dfa46575effe usr.bin/rpcgen/rpc_svcout.c
--- a/usr.bin/rpcgen/rpc_svcout.c       Thu Oct 31 02:01:46 2002 +0000
+++ b/usr.bin/rpcgen/rpc_svcout.c       Thu Oct 31 02:05:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_svcout.c,v 1.16 2002/02/05 22:41:47 christos Exp $ */
+/*     $NetBSD: rpc_svcout.c,v 1.17 2002/10/31 02:05:35 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
@@ -34,7 +34,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.16 2002/02/05 22:41:47 christos Exp $");
+__RCSID("$NetBSD: rpc_svcout.c,v 1.17 2002/10/31 02:05:35 christos Exp $");
 #endif
 #endif
 
@@ -722,7 +722,7 @@
                f_print(fout, "void _msgout(msg)\n");
                f_print(fout, "\tchar *msg;\n");
        } else {
-               f_print(fout, "void _msgout(char *msg)\n");
+               f_print(fout, "void _msgout(const char *msg)\n");
        }
        f_print(fout, "{\n");
        f_print(fout, "#ifdef RPC_SVC_FG\n");



Home | Main Index | Thread Index | Old Index