Date: Sat, 1 Dec 2018 18:23:41 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r341380 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet Message-ID: <201812011823.wB1INfhE098730@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Sat Dec 1 18:23:41 2018 New Revision: 341380 URL: https://svnweb.freebsd.org/changeset/base/341380 Log: MFC r340867: FreeBSD 7 has been history for many moons. Remove some dead code. Modified: stable/11/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Directory Properties: stable/11/ (props changed) Changes in other areas also in this revision: Modified: stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Directory Properties: stable/12/ (props changed) Modified: stable/11/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c ============================================================================== --- stable/11/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Sat Dec 1 18:17:51 2018 (r341379) +++ stable/11/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Sat Dec 1 18:23:41 2018 (r341380) @@ -57,15 +57,7 @@ static const char rcsid[] = "@(#)$Id$"; #include <netinet/ip.h> #include <netinet/ip_var.h> #include <netinet/tcp.h> -#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800000) #include <net/vnet.h> -#else -#define CURVNET_SET(arg) -#define CURVNET_RESTORE() -#define VNET_DEFINE(_t, _v) _t _v -#define VNET_DECLARE(_t, _v) extern _t _v -#define VNET(arg) arg -#endif #include <netinet/udp.h> #include <netinet/tcpip.h> #include <netinet/ip_icmp.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812011823.wB1INfhE098730>