summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-30 05:13:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-30 05:13:52 +0000
commit2a9175e555feb1a66c43c059f943dfbbd7edb3b3 (patch)
tree4c3c897fa2d26b8ea80a299abfb9422d7fe0c44c /lib/libc
parentb748ab3196dcb91e413f6cd22cfa5a00655d1d62 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getttyent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/gen/getttyent.c b/lib/libc/gen/getttyent.c
index d10430524dac1..266f6316e2c33 100644
--- a/lib/libc/gen/getttyent.c
+++ b/lib/libc/gen/getttyent.c
@@ -33,14 +33,14 @@ static char sccsid[] = "@(#)getttyent.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <ttyent.h>
+#include <sys/types.h>
+#include <sys/sysctl.h>
+
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
#include <string.h>
-
-#include <sys/types.h>
-#include <sys/sysctl.h>
+#include <ttyent.h>
static char zapchar;
static FILE *tf;