Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2019 18:38:48 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350145 - head/sys/libkern
Message-ID:  <201907191838.x6JIcmTZ076451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jul 19 18:38:47 2019
New Revision: 350145
URL: https://svnweb.freebsd.org/changeset/base/350145

Log:
  Remove pre-FreeBSD 7.0 compatibility.

Modified:
  head/sys/libkern/inet_pton.c

Modified: head/sys/libkern/inet_pton.c
==============================================================================
--- head/sys/libkern/inet_pton.c	Fri Jul 19 18:03:30 2019	(r350144)
+++ head/sys/libkern/inet_pton.c	Fri Jul 19 18:38:47 2019	(r350145)
@@ -27,10 +27,6 @@ __FBSDID("$FreeBSD$");
 
 #include <netinet/in.h>
 
-#if __FreeBSD_version < 700000
-#define strchr index
-#endif
-
 /*%
  * WARNING: Don't even consider trying to compile this on a system where
  * sizeof(int) < 4.  sizeof(int) > 4 is fine; all the world's not a VAX.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907191838.x6JIcmTZ076451>