summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-06-01 20:59:40 +0000
committerzec <zec@FreeBSD.org>2009-06-01 20:59:40 +0000
commit4dbf5c6d11a5d5c567aabcbeabe03c9b4977f4a1 (patch)
tree012d6ff5051aaf83601516d78c80ed35bb116c5c /sys/netinet6
parent8e9d8c289c626522729c4d78e2db40ec72ff1237 (diff)
downloadFreeBSD-src-4dbf5c6d11a5d5c567aabcbeabe03c9b4977f4a1.zip
FreeBSD-src-4dbf5c6d11a5d5c567aabcbeabe03c9b4977f4a1.tar.gz
Remove an #undef MIN that slipped under the radar and led me to
hastily introduce an #define MIN() a few lines below in r191816. Approved by: julian (mentor) Discussed with: bz
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index a74ee7d..ffcd996 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -281,7 +281,6 @@ nd6_setmtu0(struct ifnet *ifp, struct nd_ifinfo *ndi)
if (ndi->maxmtu > V_in6_maxmtu)
in6_setmaxmtu(); /* check all interfaces just in case */
-#undef MIN
}
void
@@ -489,14 +488,6 @@ nd6_llinfo_timer(void *arg)
if ((ifp = ((ln->lle_tbl != NULL) ? ln->lle_tbl->llt_ifp : NULL)) == NULL)
panic("ln ifp == NULL");
-/*
- * XXX XXX XXX XXX XXX
- *
- * Why the ^%(@)*&%^) is this #define MIN() needed for CURVNET_SET()?!?
- * And #define MIN() is in sys/param.h already, which is #included first
- * here?!?
- */
-#define MIN(a,b) (((a)<(b))?(a):(b))
CURVNET_SET(ifp->if_vnet);
INIT_VNET_INET6(curvnet);
OpenPOWER on IntegriCloud