From 32c3df631bc018109136a8f4f941ad591e76a0aa Mon Sep 17 00:00:00 2001 From: James Morris Date: Mon, 29 Aug 2011 11:15:25 +1000 Subject: [PATCH] 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 --- security/apparmor/lib.c | 1 + 1 file changed, 1 insertion(+) 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 #include "include/audit.h" +#include "include/apparmor.h" /** -- 2.30.2