diff options
author | wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
commit | fc1f6c1d76677a4e8d2c39e5fa7be3716841930e (patch) | |
tree | 413738746625eee30af858d100ea794582067fa4 /usr.bin/vacation | |
parent | c87e4ea046fafb0b07c7ac3335948b0743fed8b4 (diff) | |
download | FreeBSD-src-fc1f6c1d76677a4e8d2c39e5fa7be3716841930e.zip FreeBSD-src-fc1f6c1d76677a4e8d2c39e5fa7be3716841930e.tar.gz |
Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
Diffstat (limited to 'usr.bin/vacation')
-rw-r--r-- | usr.bin/vacation/vacation.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c index 025eb98..ae549c8 100644 --- a/usr.bin/vacation/vacation.c +++ b/usr.bin/vacation/vacation.c @@ -54,7 +54,6 @@ static char sccsid[] = "@(#)vacation.c 8.2 (Berkeley) 1/26/94"; #include <db.h> #include <time.h> #include <syslog.h> -#include <tzfile.h> #include <errno.h> #include <unistd.h> #include <stdio.h> @@ -114,7 +113,7 @@ main(argc, argv) break; case 'r': if (isdigit(*optarg)) { - interval = atol(optarg) * SECSPERDAY; + interval = atol(optarg) * 86400; if (interval < 0) usage(); } @@ -319,7 +318,7 @@ recent() key.data = VIT; key.size = sizeof(VIT); if ((db->get)(db, &key, &data, 0)) - next = SECSPERDAY * DAYSPERWEEK; + next = 86400 * 7; else bcopy(data.data, &next, sizeof(next)); |