net: Remove __KERNEL__ cpp checks from include/net
authorDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2011 17:54:56 +0000 (10:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2011 17:54:56 +0000 (10:54 -0700)
commit2a9e9507011440a57d6356ded630ba0c0f5d4b77
tree0c6c99b350f69f82ca9a2f602b075f1126d5b2b2
parentb71d1d426d263b0b6cb5760322efebbfc89d4463
net: Remove __KERNEL__ cpp checks from include/net

These header files are never installed to user consumption, so any
__KERNEL__ cpp checks are superfluous.

Projects should also not copy these files into their userland utility
sources and try to use them there.  If they insist on doing so, the
onus is on them to sanitize the headers as needed.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
include/net/addrconf.h
include/net/af_rxrpc.h
include/net/af_unix.h
include/net/atmclip.h
include/net/bluetooth/hci.h
include/net/dst.h
include/net/if_inet6.h
include/net/ip6_fib.h
include/net/ip6_route.h
include/net/ip_vs.h
include/net/ipv6.h
include/net/ipx.h
include/net/ndisc.h
include/net/netevent.h
include/net/netfilter/nf_conntrack.h
include/net/netfilter/nf_conntrack_tuple.h
include/net/netfilter/nf_nat.h
include/net/rawv6.h
include/net/route.h
include/net/transp_v6.h
include/net/wimax.h