summaryrefslogtreecommitdiffstats
path: root/security/apparmor/lib.c
diff options
context:
space:
mode:
authorJames Morris2011-08-29 03:15:25 +0200
committerJames Morris2011-09-10 01:56:28 +0200
commit32c3df631bc018109136a8f4f941ad591e76a0aa (patch)
tree60768d4a7ba8278f01873f36b1787b35fcf188f1 /security/apparmor/lib.c
parentapparmor: sparse fix: include ipc.h (diff)
downloadkernel-qcow2-linux-32c3df631bc018109136a8f4f941ad591e76a0aa.tar.gz
kernel-qcow2-linux-32c3df631bc018109136a8f4f941ad591e76a0aa.tar.xz
kernel-qcow2-linux-32c3df631bc018109136a8f4f941ad591e76a0aa.zip
apparmor: sparse fix: add apparmor.h to lib.c
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>
Diffstat (limited to 'security/apparmor/lib.c')
-rw-r--r--security/apparmor/lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index b82e383beb77..9516948041ad 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -18,6 +18,7 @@
#include <linux/vmalloc.h>
#include "include/audit.h"
+#include "include/apparmor.h"
/**