apparmor: sparse fix: add apparmor.h to lib.c
authorJames Morris <jmorris@namei.org>
Mon, 29 Aug 2011 01:15:25 +0000 (11:15 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:28 +0000 (16:56 -0700)
Fix the following sparse warnings:
security/apparmor/lib.c:37:6: warning: symbol 'aa_split_fqname' was not declared. Should it be static?
security/apparmor/lib.c:63:6: warning: symbol 'aa_info_message' was not declared. Should it be static?
security/apparmor/lib.c:83:6: warning: symbol 'kvmalloc' was not declared. Should it be static?
security/apparmor/lib.c:123:6: warning: symbol 'kvfree' was not declared. Should it be static?

Signed-off-by: James Morris <jmorris@namei.org>
security/apparmor/lib.c

index b82e383..9516948 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/vmalloc.h>
 
 #include "include/audit.h"
+#include "include/apparmor.h"
 
 
 /**