From 443ea2e7693b3379df6dd366184f33335e4de162 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 29 Nov 2013 00:19:34 +0000 Subject: move in_multi definition into kernel-only --- sys/netinet/in_var.h | 6 ++---- 1 file 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) { -- cgit v1.2.3