summaryrefslogtreecommitdiffstats
path: root/usr.sbin/repquota/repquota.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 07:39:34 +0000
committerbde <bde@FreeBSD.org>2002-02-25 07:39:34 +0000
commit89c26910955cd8394db498cc45959a77ce7d16ea (patch)
treea3c9dad61f7adac3a57ed3a81da3003ca27d1e45 /usr.sbin/repquota/repquota.c
parente21270968820beafe260b02f64c2f61754c32eb7 (diff)
downloadFreeBSD-src-89c26910955cd8394db498cc45959a77ce7d16ea.zip
FreeBSD-src-89c26910955cd8394db498cc45959a77ce7d16ea.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 include of <sys/stat.h>. Only its pollution was used.
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r--usr.sbin/repquota/repquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index c5501c8..5be1f6c 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -52,7 +52,6 @@ static const char rcsid[] =
* Quota report
*/
#include <sys/param.h>
-#include <sys/stat.h>
#include <ufs/ufs/quota.h>
#include <err.h>
#include <errno.h>
@@ -62,6 +61,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <utmp.h>
OpenPOWER on IntegriCloud