Skip to content
Commit 56b49f4b authored by Ollie Wild's avatar Ollie Wild Committed by David S. Miller
Browse files

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: default avatarOllie Wild <aaw@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbdd769a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment