Make _msgout take a const char * rather than a char *.
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
dfc4c48df7
commit
0081eff379
@ -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 New Issue
Block a user