summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-29 00:19:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-29 00:19:34 +0000
commit443ea2e7693b3379df6dd366184f33335e4de162 (patch)
tree7eef0e35a4d6669957a8e927b76087ecfc578795
parentd22d1a96816fd911c40e45780681111eb79cdcc5 (diff)
move in_multi definition into kernel-only
-rw-r--r--sys/netinet/in_var.h6
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)
{