aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-05-08 14:50:28 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-05-08 14:50:28 +0000
commit0081eff379dec62860fb74a8a7f0de738d4de600 (patch)
tree8467ea48a37659ba927a0ae0c459e13c1c706aa1 /usr.bin/rpcgen
parentdfc4c48df75b4a723bc17c57de28a71ec3430276 (diff)
downloadsrc-0081eff379dec62860fb74a8a7f0de738d4de600.tar.gz
src-0081eff379dec62860fb74a8a7f0de738d4de600.zip
Notes
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_svcout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c
index 20f6aafa7e3f..f90fd0d0ab16 100644
--- a/usr.bin/rpcgen/rpc_svcout.c
+++ b/usr.bin/rpcgen/rpc_svcout.c
@@ -763,9 +763,9 @@ write_msg_out(void)
if (!Cflag) {
f_print(fout, "void _msgout(msg)\n");
- f_print(fout, "\tchar *msg;\n");
+ f_print(fout, "\tconst char *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");