diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 664a31e4967a61ec61870f45adc2f1400617993e (patch) | |
tree | f6e6a9488aad27e9b1298da3083e214c1c209505 /sys/netinet/ip_dummynet.h | |
parent | a0b57fb738b797a1aa540b8360260b19b6470bc4 (diff) | |
download | src-664a31e4967a61ec61870f45adc2f1400617993e.tar.gz src-664a31e4967a61ec61870f45adc2f1400617993e.zip |
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.
Notes
Notes:
svn path=/head/; revision=55205
Diffstat (limited to 'sys/netinet/ip_dummynet.h')
-rw-r--r-- | sys/netinet/ip_dummynet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h index 2c0e8b931e53..61ca6ddf365c 100644 --- a/sys/netinet/ip_dummynet.h +++ b/sys/netinet/ip_dummynet.h @@ -99,7 +99,7 @@ struct dn_pipe { /* a pipe */ #define DN_TO_IP_IN 2 #define DN_TO_BDG_FWD 3 -#ifdef KERNEL +#ifdef _KERNEL MALLOC_DECLARE(M_IPFW); @@ -111,6 +111,6 @@ int dummynet_io(int pipe, int dir, struct mbuf *m, struct ifnet *ifp, struct route *ro, struct sockaddr_in * dst, struct ip_fw_chain *rule, int flags); -#endif /* KERNEL */ +#endif #endif /* _IP_DUMMYNET_H */ |