From 22eb77a8bd9284ff55e7f91c659398a9a554766a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 15 Mar 2015 00:41:29 +0000 Subject: tzfile.h is an internal header that should never have been installed. What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ --- usr.bin/find/find.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/find/find.h') diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h index 6380c93f82f..0d7690f034b 100644 --- a/usr.bin/find/find.h +++ b/usr.bin/find/find.h @@ -1,4 +1,4 @@ -/* $OpenBSD: find.h,v 1.16 2015/01/19 15:30:52 krw Exp $ */ +/* $OpenBSD: find.h,v 1.17 2015/03/15 00:41:28 millert Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -133,4 +133,7 @@ typedef struct _option { int flags; } OPTION; +#define SECSPERDAY (24 * 60 * 60) +#define SIXMONTHS (SECSPERDAY * 365 / 2) + #include "extern.h" -- cgit v1.2.3