From cc7db09952faefc86187c67c4adf5cbdb6fe2c1b Mon Sep 17 00:00:00 2001 From: James Morris Date: Mon, 29 Aug 2011 11:45:44 +1000 Subject: [PATCH] apparmor: sparse fix: include procattr.h in procattr.c Fix sparse warnings: security/apparmor/procattr.c:35:5: warning: symbol 'aa_getprocattr' was not declared. Should it be static? security/apparmor/procattr.c:113:5: warning: symbol 'aa_setprocattr_changehat' was not declared. Should it be static? security/apparmor/procattr.c:158:5: warning: symbol 'aa_setprocattr_changeprofile' was not declared. Should it be static? security/apparmor/procattr.c:166:5: warning: symbol 'aa_setprocattr_permipc' was not declared. Should it be static? Signed-off-by: James Morris Acked-by: John Johansen --- security/apparmor/procattr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c index 04a2cf8d1b65..1b41c542d376 100644 --- a/security/apparmor/procattr.c +++ b/security/apparmor/procattr.c @@ -16,6 +16,7 @@ #include "include/context.h" #include "include/policy.h" #include "include/domain.h" +#include "include/procattr.h" /** -- 2.30.2