diff options
author | James Morris <jmorris@namei.org> | 2011-08-29 23:48:53 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:33 -0400 |
commit | 5dbe3040c74eef18e66951347eda05b153e69328 (patch) | |
tree | 72c9e5f77deae00f1234e488254d4898cab32027 /security | |
parent | 7b98a5857c3fa86cb0a7e5f893643491a8b5b425 (diff) |
security: sparse fix: Move security_fixup_op to security.h
Fix sparse warning by moving declaraion to global header.
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/security.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c index a6328421a055..9ebda054a333 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -26,9 +26,6 @@ | |||
26 | static __initdata char chosen_lsm[SECURITY_NAME_MAX + 1] = | 26 | static __initdata char chosen_lsm[SECURITY_NAME_MAX + 1] = |
27 | CONFIG_DEFAULT_SECURITY; | 27 | CONFIG_DEFAULT_SECURITY; |
28 | 28 | ||
29 | /* things that live in capability.c */ | ||
30 | extern void __init security_fixup_ops(struct security_operations *ops); | ||
31 | |||
32 | static struct security_operations *security_ops; | 29 | static struct security_operations *security_ops; |
33 | static struct security_operations default_security_ops = { | 30 | static struct security_operations default_security_ops = { |
34 | .name = "default", | 31 | .name = "default", |