policycoreutils/hll/pp: fix -Wwrite-strings warnings
In main(), variable ifile can be made const char*. While at it, make ofile const char* too. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
a51b30ae23
commit
2f94ac47d5
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ int main(int argc, char **argv)
|
|||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
struct sepol_module_package *mod_pkg = NULL;
|
||||
char *ifile = NULL;
|
||||
char *ofile = NULL;
|
||||
const char *ifile = NULL;
|
||||
const char *ofile = NULL;
|
||||
FILE *in = NULL;
|
||||
FILE *out = NULL;
|
||||
int outfd = -1;
|
||||
|
|
Loading…
Reference in a new issue