#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.
This commit is contained in:
parent
4fbbde7f8a
commit
10acff06b9
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user