Make _msgout take a const char * rather than a char *.

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2002-05-08 14:50:28 +00:00
parent dfc4c48df7
commit 0081eff379
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96219

View File

@ -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");