[NET]: Need struct sock forward decl in net/compat.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2005 19:32:46 +0000 (12:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2005 19:32:46 +0000 (12:32 -0700)
commite50ef933e649a2b43aa10c8a60c491543b8b4c02
treec10785ae043fe527cea839c4153e4bfede48cc20
parente308e25c97f06cf704e65eeb773412f5460a3b93
[NET]: Need struct sock forward decl in net/compat.h

Else we get build failures like:

  CC      arch/sparc64/kernel/sparc64_ksyms.o
In file included from arch/sparc64/kernel/sparc64_ksyms.c:28:
include/net/compat.h:37: warning: "struct sock" declared inside parameter list
include/net/compat.h:37: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/compat.h