summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-29 11:15:25 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:28 -0700
commit32c3df631bc018109136a8f4f941ad591e76a0aa (patch)
tree60768d4a7ba8278f01873f36b1787b35fcf188f1
parent33f8bf588070e84bb29c3a726758dbb5791fc95e (diff)
downloadlwn-32c3df631bc018109136a8f4f941ad591e76a0aa.tar.gz
lwn-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>
-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"
/**