diff options
author | James Morris <jmorris@namei.org> | 2011-08-28 20:40:54 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:27 -0400 |
commit | 33f8bf588070e84bb29c3a726758dbb5791fc95e (patch) | |
tree | 569f68e7c8928a9845df47777017db6bf7534f34 /security/apparmor/ipc.c | |
parent | 58982b74832917405a483a22beede729e3175376 (diff) |
apparmor: sparse fix: include ipc.h
Include ipc.h to eliminate sparse warnings.
security/apparmor/ipc.c:61:5: warning: symbol 'aa_may_ptrace' was not declared. Should it be static?
security/apparmor/ipc.c:83:5: warning: symbol 'aa_ptrace' was not declared. Should it be static
Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/ipc.c')
-rw-r--r-- | security/apparmor/ipc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/ipc.c b/security/apparmor/ipc.c index 649fad88869b..7ee05c6f3c64 100644 --- a/security/apparmor/ipc.c +++ b/security/apparmor/ipc.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include "include/capability.h" | 19 | #include "include/capability.h" |
20 | #include "include/context.h" | 20 | #include "include/context.h" |
21 | #include "include/policy.h" | 21 | #include "include/policy.h" |
22 | #include "include/ipc.h" | ||
22 | 23 | ||
23 | /* call back to audit ptrace fields */ | 24 | /* call back to audit ptrace fields */ |
24 | static void audit_cb(struct audit_buffer *ab, void *va) | 25 | static void audit_cb(struct audit_buffer *ab, void *va) |