summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/util.c
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/chpass/util.c
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/chpass/util.c')
-rw-r--r--usr.bin/chpass/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/chpass/util.c b/usr.bin/chpass/util.c
index 8e9c5e99bcf..0f8bda2c15c 100644
--- a/usr.bin/chpass/util.c
+++ b/usr.bin/chpass/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.12 2009/10/27 23:59:36 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.13 2015/03/15 00:41:28 millert Exp $ */
/* $NetBSD: util.c,v 1.4 1995/03/26 04:55:35 glass Exp $ */
/*-
@@ -38,7 +38,6 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <tzfile.h>
#include <unistd.h>
#include "chpass.h"