diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
commit | 656dcd4316d328f627e3c8f99be96bb2c41baf5b (patch) | |
tree | 413738746625eee30af858d100ea794582067fa4 /usr.bin/find/ls.c | |
parent | 8e53a8e6fc66c9fbe9b277c18b90c11de39d7b7a (diff) | |
download | src-656dcd4316d328f627e3c8f99be96bb2c41baf5b.tar.gz src-656dcd4316d328f627e3c8f99be96bb2c41baf5b.zip |
Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.
Notes
Notes:
svn path=/head/; revision=9987
Diffstat (limited to 'usr.bin/find/ls.c')
-rw-r--r-- | usr.bin/find/ls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c index dd51f97f45fb..929ef7936d92 100644 --- a/usr.bin/find/ls.c +++ b/usr.bin/find/ls.c @@ -43,7 +43,6 @@ static char sccsid[] = "@(#)ls.c 8.1 (Berkeley) 6/6/93"; #include <stdio.h> #include <string.h> #include <time.h> -#include <tzfile.h> #include <unistd.h> #include <utmp.h> @@ -90,7 +89,7 @@ printtime(ftime) for (i = 4; i < 11; ++i) (void)putchar(longstring[i]); -#define SIXMONTHS ((DAYSPERNYEAR / 2) * SECSPERDAY) +#define SIXMONTHS ((365 / 2) * 86400) if (ftime + SIXMONTHS > time((time_t *)NULL)) for (i = 11; i < 16; ++i) (void)putchar(longstring[i]); |