diff options
author | mckusick <mckusick@FreeBSD.org> | 2011-01-24 06:17:05 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2011-01-24 06:17:05 +0000 |
commit | 242bd272d90e3db273117961eb0699de91f42249 (patch) | |
tree | 745a3d9e1c16eed61f71f5c30e0dd0e1c250c1e8 /usr.sbin/quot/quot.c | |
parent | 3a6671bf9c39bc269e02df39ab55da355744bf4f (diff) | |
download | FreeBSD-src-242bd272d90e3db273117961eb0699de91f42249.zip FreeBSD-src-242bd272d90e3db273117961eb0699de91f42249.tar.gz |
The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities
include sys/time.h instead of time.h. This include is incorrect as
per the manpages for the APIs and the POSIX definitions. This commit
replaces sys/time.h where necessary with time.h.
The commit also includes some minor style(9) header fixup in newfs.
This commit is part of a larger effort by Garrett Cooper started in
//depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more
POSIX compliant.
Submitted by: Garrett Cooper yanegomi at gmail dot com
Diffstat (limited to 'usr.sbin/quot/quot.c')
-rw-r--r-- | usr.sbin/quot/quot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c index 4da58ba..979eef4 100644 --- a/usr.sbin/quot/quot.c +++ b/usr.sbin/quot/quot.c @@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$"); #include <sys/stdint.h> #include <sys/mount.h> #include <sys/disklabel.h> -#include <sys/time.h> #include <ufs/ufs/dinode.h> #include <ufs/ffs/fs.h> @@ -49,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> /* some flags of what to do: */ |