Skip to content

Commit

Permalink
apparmor: sparse fix: include procattr.h in procattr.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Morris committed Sep 9, 2011
1 parent 7ee9585 commit cc7db09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/apparmor/procattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "include/context.h"
#include "include/policy.h"
#include "include/domain.h"
#include "include/procattr.h"


/**
Expand Down

0 comments on commit cc7db09

Please sign in to comment.