summaryrefslogtreecommitdiffstats
path: root/libexec/getty
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 02:30:04 +0000
committerbde <bde@FreeBSD.org>2002-02-25 02:30:04 +0000
commit5b9f1e35697d6860d472799e1624376978068dfb (patch)
tree0beae27c0c8684fdc0253a97b830880eca30800d /libexec/getty
parente99d5bcb36683782c709466970e46e5dd962eac5 (diff)
downloadFreeBSD-src-5b9f1e35697d6860d472799e1624376978068dfb.zip
FreeBSD-src-5b9f1e35697d6860d472799e1624376978068dfb.tar.gz
#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.
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 4d87215..1c1a7b8 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -46,9 +46,10 @@ static const char rcsid[] =
#endif /* not lint */
#include <sys/param.h>
-#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/time.h>
#include <sys/resource.h>
+#include <sys/stat.h>
#include <sys/ttydefaults.h>
#include <sys/utsname.h>
@@ -57,7 +58,6 @@ static const char rcsid[] =
#include <fcntl.h>
#include <locale.h>
#include <libutil.h>
-#include <signal.h>
#include <setjmp.h>
#include <signal.h>
#include <stdlib.h>
@@ -67,9 +67,9 @@ static const char rcsid[] =
#include <time.h>
#include <unistd.h>
+#include "extern.h"
#include "gettytab.h"
#include "pathnames.h"
-#include "extern.h"
/*
* Set the amount of running time that getty should accumulate
OpenPOWER on IntegriCloud