apparmor: sparse fix: include procattr.h in procattr.c
authorJames Morris <jmorris@namei.org>
Mon, 29 Aug 2011 01:45:44 +0000 (11:45 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:29 +0000 (16:56 -0700)
commitcc7db09952faefc86187c67c4adf5cbdb6fe2c1b
tree1a3f81bb166b480fc505fe9af3a9b92cf613df04
parent7ee95850bab6468f8213f36a84e872418d2faa00
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 <jmorris@namei.org>
Acked-by: John Johansen <john.johansen@canonical.com>
security/apparmor/procattr.c