mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-09 06:07:28 +00:00
Building from the root directory with "make DEBUG=1" enables -Wshadow option. This makes the compilation fail with the following error: semodule_unpackage.c: In function 'usage': semodule_unpackage.c:17:25: error: declaration of 'progname' shadows a global declaration [-Werror=shadow] static void usage(char *progname) ^ semodule_unpackage.c:14:7: error: shadowed declaration is here [-Werror=shadow] char *progname = NULL; ^ Fix this error by no longer passing a global variable as a parameter to usage function. Acked-by: Steve Lawrence <slawrence@tresys.com> |
||
---|---|---|
.. | ||
Makefile | ||
semodule_package.8 | ||
semodule_package.c | ||
semodule_unpackage.8 | ||
semodule_unpackage.c |