apparmor: sparse fix: include ipc.h
authorJames Morris <jmorris@namei.org>
Mon, 29 Aug 2011 00:40:54 +0000 (10:40 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:27 +0000 (16:56 -0700)
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>
security/apparmor/ipc.c

index 649fad8..7ee05c6 100644 (file)
@@ -19,6 +19,7 @@
 #include "include/capability.h"
 #include "include/context.h"
 #include "include/policy.h"
+#include "include/ipc.h"
 
 /* call back to audit ptrace fields */
 static void audit_cb(struct audit_buffer *ab, void *va)