From fc1f6c1d76677a4e8d2c39e5fa7be3716841930e Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 7 Aug 1995 19:17:46 +0000 Subject: Delete bogus referneces to timezone code internal header file `tzfile.h', which is no longer bogusly installed in /usr/include. --- usr.bin/vacation/vacation.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/vacation') 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 #include #include -#include #include #include #include @@ -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)); -- cgit v1.1