diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch) | |
tree | e999c95eb5db56737efc17feeb385a77941021bb /sys/netinet/in_var.h | |
parent | 9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff) | |
download | FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.tar.gz |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/netinet/in_var.h')
-rw-r--r-- | sys/netinet/in_var.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index c04c778..de2a6a6 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -80,7 +80,7 @@ struct in_aliasreq { ((ntohl((in).s_addr) & ~((struct in_ifaddr *)(ifa)->ia_subnetmask)) -#ifdef KERNEL +#ifdef _KERNEL extern TAILQ_HEAD(in_ifaddrhead, in_ifaddr) in_ifaddrhead; extern struct ifqueue ipintrq; /* ip packet input queue */ extern struct in_addr zeroin_addr; @@ -156,7 +156,7 @@ struct in_multi { struct router_info *inm_rti; /* router info*/ }; -#ifdef KERNEL +#ifdef _KERNEL #ifdef SYSCTL_DECL SYSCTL_DECL(_net_inet_ip); @@ -230,7 +230,7 @@ int ipflow_fastforward __P((struct mbuf *)); void ipflow_create __P((const struct route *, struct mbuf *)); void ipflow_slowtimo __P((void)); -#endif /* KERNEL */ +#endif /* _KERNEL */ /* INET6 stuff */ #include <netinet6/in6_var.h> |