make the #include nightmare more managable.
}
-#ifndef CONFIG_SECURITY
-/* capable prototype and code are in security.[hc] if CONFIG_SECURITY */
+#ifdef CONFIG_SECURITY
+/* code is in security.c */
+extern int capable(int cap);
+#else
static inline int capable(int cap)
{
if (cap_raised(current->cap_effective, cap)) {
extern int unregister_security (struct security_operations *ops);
extern int mod_reg_security (const char *name, struct security_operations *ops);
extern int mod_unreg_security (const char *name, struct security_operations *ops);
-extern int capable (int cap);
#else /* CONFIG_SECURITY */