use _KERNEL instead of KERNEL. (sync from KAME)
This commit is contained in:
parent
522e6d0296
commit
6df71cd35f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ip6_mroute.h,v 1.4 1999/11/19 10:41:43 bouyer Exp $ */
|
||||
/* $NetBSD: ip6_mroute.h,v 1.5 1999/12/02 05:25:47 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1998 WIDE Project.
|
||||
|
@ -46,12 +46,6 @@
|
|||
#ifndef _NETINET6_IP6_MROUTE_H_
|
||||
#define _NETINET6_IP6_MROUTE_H_
|
||||
|
||||
#ifdef __NetBSD__
|
||||
# ifdef _KERNEL
|
||||
# define KERNEL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Multicast Routing set/getsockopt commands.
|
||||
*/
|
||||
|
@ -209,7 +203,7 @@ struct sioc_mif_req6 {
|
|||
u_long obytes; /* Output byte count on mif */
|
||||
};
|
||||
|
||||
#ifdef KERNEL
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* The kernel's multicast-interface structure.
|
||||
*/
|
||||
|
@ -279,6 +273,6 @@ int ip6_mrouter_set __P((int, struct socket *, struct mbuf *));
|
|||
int ip6_mrouter_get __P((int, struct socket *, struct mbuf **));
|
||||
int ip6_mrouter_done __P((void));
|
||||
int mrt6_ioctl __P((int, caddr_t));
|
||||
#endif /* KERNEL */
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* !_NETINET6_IP6_MROUTE_H_ */
|
||||
|
|
Loading…
Reference in New Issue