diff options
author | ed <ed@FreeBSD.org> | 2010-02-09 21:24:41 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-02-09 21:24:41 +0000 |
commit | d09bdfe2c5a42387a5c6136cbcc9fa601924d7f2 (patch) | |
tree | f13aeb7b2ac72b2f30879d9c0193133835e34d27 /usr.bin/find/extern.h | |
parent | ad83c697927372c901c6bf9b119d735e0df4fbcc (diff) | |
download | FreeBSD-src-d09bdfe2c5a42387a5c6136cbcc9fa601924d7f2.zip FreeBSD-src-d09bdfe2c5a42387a5c6136cbcc9fa601924d7f2.tar.gz |
Don't let find(1) depend on struct timeb.
This structure is deprecated and only used by ftime(2), which is part of
libcompat. The second argument of get_date() is unused, which means we
can just remove it entirely.
Diffstat (limited to 'usr.bin/find/extern.h')
-rw-r--r-- | usr.bin/find/extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h index 716c1f5..cc6143c 100644 --- a/usr.bin/find/extern.h +++ b/usr.bin/find/extern.h @@ -43,8 +43,7 @@ PLAN *find_formplan(char **); PLAN *not_squish(PLAN *); PLAN *or_squish(PLAN *); PLAN *paren_squish(PLAN *); -struct timeb; -time_t get_date(char *, struct timeb *); +time_t get_date(char *); struct stat; void printlong(char *, char *, struct stat *); int queryuser(char **); |