From 06668f7f6565bae5c51e03e98e4a0b8aa069869d Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 1 Jul 2018 19:44:26 +0000 Subject: [PATCH] find(1): remove portability ifdefs This code isn't designed to be particularly portable outside of FreeBSD. To be more specific it doesn't make much sense to support compiling find(1) on VMS. --- usr.bin/find/getdate.y | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/usr.bin/find/getdate.y b/usr.bin/find/getdate.y index 16ffb6eeff78..d1326537c67b 100644 --- a/usr.bin/find/getdate.y +++ b/usr.bin/find/getdate.y @@ -23,24 +23,13 @@ __FBSDID("$FreeBSD$"); tricks are need, but defaults to using the gettimeofday system call. Include if that will be used. */ -#if defined(vms) -# include -#else /* defined(vms) */ # include # include -#endif /* !defined(vms) */ #if defined (__STDC__) || defined (USG) #include #endif -/* Some old versions of bison generate parsers that use bcopy. - That loses on systems that don't provide the function, so we have - to redefine it here. */ -#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) -#define bcopy(from, to, len) memcpy ((to), (from), (len)) -#endif - #if defined (__STDC__) #include #endif