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>
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
#ifndef _IP6_FIB_H
|
||||
#define _IP6_FIB_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/ipv6_route.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/spinlock.h>
|
||||
@@ -240,4 +238,3 @@ static inline void fib6_rules_cleanup(void)
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user