diff options
author | 2013-11-29 00:19:33 +0000 | |
---|---|---|
committer | 2013-11-29 00:19:33 +0000 | |
commit | 07a775f68deaea630aafa2009b0d661ccff3df37 (patch) | |
tree | 2f52f0bf488d7d61fe3174f18a3a771305a4b3ab | |
parent | simplify the check if a responsefile line is valid (diff) | |
download | wireguard-openbsd-07a775f68deaea630aafa2009b0d661ccff3df37.tar.xz wireguard-openbsd-07a775f68deaea630aafa2009b0d661ccff3df37.zip |
move in_multi definition into kernel-only
-rw-r--r-- | sys/netinet/in_var.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index e3c09188a51..ad7c833c470 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_var.h,v 1.30 2013/11/28 10:16:44 mpi Exp $ */ +/* $OpenBSD: in_var.h,v 1.31 2013/11/29 00:19:33 deraadt Exp $ */ /* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */ /* @@ -104,6 +104,7 @@ struct router_info { struct router_info *rti_next; }; +#ifdef _KERNEL /* * Internet multicast address structure. There is one of these for each IP * multicast group to which this host belongs on a given network interface. @@ -122,9 +123,6 @@ struct in_multi { struct router_info *inm_rti; /* router version info */ }; - -#ifdef _KERNEL - static __inline struct in_multi * ifmatoinm(struct ifmaddr *ifma) { |