diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 01:36:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 01:36:59 +0000 |
commit | cf8ef037c8bbd1b4929ce625ef69293a187f6819 (patch) | |
tree | ac054d97e3cad20d13b99f7383d1205f5a5baa33 /bin/ls | |
parent | 30b7ca1cdf48ed5cd06e85144354428fe923a928 (diff) | |
download | FreeBSD-src-cf8ef037c8bbd1b4929ce625ef69293a187f6819.zip FreeBSD-src-cf8ef037c8bbd1b4929ce625ef69293a187f6819.tar.gz |
#include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Removed unused includes.
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/print.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c index bcaf611..87fcf64 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -50,13 +50,12 @@ static char sccsid[] = "@(#)print.c 8.4 (Berkeley) 4/17/94"; #include <err.h> #include <errno.h> #include <fts.h> -#include <grp.h> #include <math.h> #include <langinfo.h> -#include <pwd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #ifdef COLORLS #include <ctype.h> |