diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 02:30:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 02:30:04 +0000 |
commit | 5b9f1e35697d6860d472799e1624376978068dfb (patch) | |
tree | 0beae27c0c8684fdc0253a97b830880eca30800d /libexec/getty | |
parent | e99d5bcb36683782c709466970e46e5dd962eac5 (diff) | |
download | FreeBSD-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.c | 6 |
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 |