From: Andrew Morton Date: Wed, 23 May 2007 20:57:39 +0000 (-0700) Subject: capability.h warning fix X-Git-Tag: v2.6.22-rc3~70 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7add02d6247bff34005e040347d81777c80931c;p=linux-2.6 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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/capability.h b/include/linux/capability.h index 6548b35ab9..bbf8df7de2 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h @@ -16,6 +16,8 @@ #include #include +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