summaryrefslogtreecommitdiffstats
path: root/sbin/atacontrol
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-09-16 08:34:08 +0000
committermike <mike@FreeBSD.org>2002-09-16 08:34:08 +0000
commitbd0063350a2e7155bdf2ba0b707efbe263a8e6c7 (patch)
tree6bfafa0b76bf1dccb7ddb8245904d5867148bbab /sbin/atacontrol
parent64415b6035edbc99c603ebd6be4786e901c4bfe1 (diff)
downloadFreeBSD-src-bd0063350a2e7155bdf2ba0b707efbe263a8e6c7.zip
FreeBSD-src-bd0063350a2e7155bdf2ba0b707efbe263a8e6c7.tar.gz
Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes.
Diffstat (limited to 'sbin/atacontrol')
-rw-r--r--sbin/atacontrol/atacontrol.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c
index 96e6b63..d7b6995 100644
--- a/sbin/atacontrol/atacontrol.c
+++ b/sbin/atacontrol/atacontrol.c
@@ -28,13 +28,15 @@
* $FreeBSD$
*/
+#include <sys/types.h>
+#include <sys/ata.h>
+
+#include <err.h>
+#include <errno.h>
+#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <err.h>
-#include <sys/ata.h>
char *
mode2str(int mode)
OpenPOWER on IntegriCloud