mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-17 01:56:53 +00:00
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
@ -69,8 +69,8 @@ int main(int argc, char **argv)
|
|||||||
{ NULL, 0, NULL, 0 }
|
{ NULL, 0, NULL, 0 }
|
||||||
};
|
};
|
||||||
struct sepol_module_package *mod_pkg = NULL;
|
struct sepol_module_package *mod_pkg = NULL;
|
||||||
char *ifile = NULL;
|
const char *ifile = NULL;
|
||||||
char *ofile = NULL;
|
const char *ofile = NULL;
|
||||||
FILE *in = NULL;
|
FILE *in = NULL;
|
||||||
FILE *out = NULL;
|
FILE *out = NULL;
|
||||||
int outfd = -1;
|
int outfd = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user