Commit b7add02d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

capability.h warning fix

include/linux/capability.h:397: warning: "struct task_struct" declared inside parameter list
include/linux/capability.h:397: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8ce7ad7b
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/compiler.h> #include <linux/compiler.h>
struct task_struct;
/* User-level do most of the mapping between kernel and user /* User-level do most of the mapping between kernel and user
capabilities based on the version tag given by the kernel. The capabilities based on the version tag given by the kernel. The
kernel might be somewhat backwards compatible, but don't bet on kernel might be somewhat backwards compatible, but don't bet on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment