selinux: sparse fix: move selinux_complete_init

Sparse fix: move selinux_complete_init

Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
James Morris 2011-08-17 11:13:31 +10:00
parent 56a4ca9961
commit cc59a582d6
2 changed files with 1 additions and 1 deletions

View file

@ -216,6 +216,7 @@ struct selinux_kernel_status {
extern void selinux_status_update_setenforce(int enforcing);
extern void selinux_status_update_policyload(int seqno);
extern void selinux_complete_init(void);
#endif /* _SELINUX_SECURITY_H_ */

View file

@ -1790,7 +1790,6 @@ static void security_load_policycaps(void)
POLICYDB_CAPABILITY_OPENPERM);
}
extern void selinux_complete_init(void);
static int security_preserve_bools(struct policydb *p);
/**