mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
Make _msgout take a const char * rather than a char *.
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
dfc4c48df7
commit
0081eff379
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96219
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue