mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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