aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-25 01:36:59 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-25 01:36:59 +0000
commit434b6ea45aaa41fb78958dee5d7f383fc8b7f010 (patch)
treeac054d97e3cad20d13b99f7383d1205f5a5baa33 /bin
parent163ae6707cd847dfb0bb482aa7706cacea2f22b5 (diff)
downloadsrc-434b6ea45aaa41fb78958dee5d7f383fc8b7f010.tar.gz
src-434b6ea45aaa41fb78958dee5d7f383fc8b7f010.zip
#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.
Notes
Notes: svn path=/head/; revision=91212
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/print.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index bcaf6118dc09..87fcf6441f37 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>