summaryrefslogtreecommitdiff
path: root/usr.bin/at
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-03-15 00:41:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-03-15 00:41:29 +0000
commit22eb77a8bd9284ff55e7f91c659398a9a554766a (patch)
treea28c1053918bf9acff5523fc5d5d0b958b776fbb /usr.bin/at
parentb89e57b4b2848230b0a05f0d361e996015aecf61 (diff)
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@
Diffstat (limited to 'usr.bin/at')
-rw-r--r--usr.bin/at/parsetime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c
index f4208345166..e95813e8dec 100644
--- a/usr.bin/at/parsetime.c
+++ b/usr.bin/at/parsetime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parsetime.c,v 1.20 2014/01/13 23:18:57 millert Exp $ */
+/* $OpenBSD: parsetime.c,v 1.21 2015/03/15 00:41:27 millert Exp $ */
/*
* parsetime.c - parse time for at(1)
@@ -42,7 +42,6 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <tzfile.h>
#include <unistd.h>
#include "globals.h"