checkpolicy: declare file local variable static
The variable policy_type used by checkmodule is only used inside of checkmodule.c. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
f4ffda66d6
commit
505d1b4ce8
|
@ -43,7 +43,7 @@ static int handle_unknown = SEPOL_DENY_UNKNOWN;
|
|||
static const char *txtfile = "policy.conf";
|
||||
static const char *binfile = "policy";
|
||||
|
||||
unsigned int policy_type = POLICY_BASE;
|
||||
static unsigned int policy_type = POLICY_BASE;
|
||||
unsigned int policyvers = MOD_POLICYDB_VERSION_MAX;
|
||||
|
||||
static int read_binary_policy(policydb_t * p, const char *file, const char *progname)
|
||||
|
|
Loading…
Reference in New Issue