#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for its prerequisite <sys/time.h>. Removed a duplicated include. Sorted includes.
This commit is contained in:
parent
5da19f398a
commit
e395985f1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91216
@ -46,9 +46,10 @@ static const char rcsid[] =
|
|||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <sys/ttydefaults.h>
|
#include <sys/ttydefaults.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
@ -57,7 +58,6 @@ static const char rcsid[] =
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -67,9 +67,9 @@ static const char rcsid[] =
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "extern.h"
|
||||||
#include "gettytab.h"
|
#include "gettytab.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
#include "extern.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the amount of running time that getty should accumulate
|
* Set the amount of running time that getty should accumulate
|
||||||
|
Loading…
Reference in New Issue
Block a user