From: James Morris Date: Mon, 29 Aug 2011 01:45:44 +0000 (+1000) Subject: apparmor: sparse fix: include procattr.h in procattr.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cc7db09952faefc86187c67c4adf5cbdb6fe2c1b;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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" /**