diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-24 00:57:39 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-24 07:14:12 +0400 |
commit | b7add02d6247bff34005e040347d81777c80931c (patch) | |
tree | 41a2756e9fc1fc961ff29be08b5b8a080bbc2c03 /include/linux/capability.h | |
parent | 8ce7ad7b2d11fae2c3d285a6a0caea9322c0b8fc (diff) | |
download | linux-b7add02d6247bff34005e040347d81777c80931c.tar.xz |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/capability.h')
-rw-r--r-- | include/linux/capability.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/capability.h b/include/linux/capability.h index 6548b35ab9f6..bbf8df7de28f 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h @@ -16,6 +16,8 @@ #include <linux/types.h> #include <linux/compiler.h> +struct task_struct; + /* User-level do most of the mapping between kernel and user capabilities based on the version tag given by the kernel. The kernel might be somewhat backwards compatible, but don't bet on |