From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> The variable policy_type used by checkmodule is only used inside of checkmodule.c. Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- checkpolicy/checkmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpolicy/checkmodule.c b/checkpolicy/checkmodule.c index 14e6c891..e7869bf1 100644 --- a/checkpolicy/checkmodule.c +++ b/checkpolicy/checkmodule.c @@ -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) -- 2.43.0