svn commit: r350145 - head/sys/libkern

Warner Losh imp at FreeBSD.org
Fri Jul 19 18:38:48 UTC 2019


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.


More information about the svn-src-head mailing list