]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9952c0f7a4fe48f216f08e5e2391cf9c70caac5c
tree0c6c99b350f69f82ca9a2f602b075f1126d5b2b2
parentb009b140e7e572b29c2310b3c995c64a6ed580cd
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