security: remove broken and useless declarations
authorJames Morris <jmorris@namei.org>
Wed, 12 Nov 2008 10:20:00 +0000 (21:20 +1100)
committerJames Morris <jmorris@namei.org>
Wed, 12 Nov 2008 10:20:00 +0000 (21:20 +1100)
Remove broken declarations for security_capable* functions,
which were not needed anyway.

Signed-off-by: James Morris <jmorris@namei.org>
include/linux/capability.h

index b313ba1dd5d1042b5d9f5783ac1b7c22f05e242c..7f26580a5a4d23d6c4e05081d1bb327236e30fab 100644 (file)
@@ -521,8 +521,6 @@ extern const kernel_cap_t __cap_init_eff_set;
 
 kernel_cap_t cap_set_effective(const kernel_cap_t pE_new);
 
-extern int security_capable(struct task_struct *t, int cap);
-extern int security_capable_noaudit(struct task_struct *t, int cap);
 /**
  * has_capability - Determine if a task has a superior capability available
  * @t: The task in question