]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4fdffdc67b7a939ef530b428d80bf12ea1321f97
tree2a88008075a90686237b0e8ce1de72db1d5b0747
parent13ce94c48da19940115275a42ba41a7e7530088e
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