net: Move "struct net" declaration inside the __KERNEL__ macro guard
authorOllie Wild <aaw@google.com>
Wed, 22 Sep 2010 05:54:54 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 20:21:05 +0000 (13:21 -0700)
commit56b49f4b8f6728b91d10c556c116175051b77b60
tree2a88008075a90686237b0e8ce1de72db1d5b0747
parentcbdd769ab9de26764bde0520a91536caa1587e13
net: Move "struct net" declaration inside the __KERNEL__ macro guard

This patch reduces namespace pollution by moving the "struct net" declaration
out of the userspace-facing portion of linux/netlink.h.  It has no impact on
the kernel.

(This came up because we have several C++ applications which use "net" as a
namespace name.)

Signed-off-by: Ollie Wild <aaw@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h