summaryrefslogtreecommitdiff
path: root/lib/libarch/alpha
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 15:55:15 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 15:55:15 +0000
commit29364884c57d94778b19fe39a672361fa95d142a (patch)
tree3c4a4140d25e12efb0365d7b85973f78dae66999 /lib/libarch/alpha
parent3c5ad4178e6c30cb1550a85f0e5a0b252cb87297 (diff)
Prefer <fcntl.h> over <sys/fcntl.h> in userland
While here, delete some extra #includes and apply style(9) sort rules. ok deraadt@ krw@ mpi@
Diffstat (limited to 'lib/libarch/alpha')
-rw-r--r--lib/libarch/alpha/bwx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libarch/alpha/bwx.c b/lib/libarch/alpha/bwx.c
index 3647a914cac..4ef9a9c2b47 100644
--- a/lib/libarch/alpha/bwx.c
+++ b/lib/libarch/alpha/bwx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwx.c,v 1.8 2014/12/13 16:26:13 miod Exp $ */
+/* $OpenBSD: bwx.c,v 1.9 2018/04/26 15:55:14 guenther Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -27,13 +27,13 @@
#include <sys/param.h>
#include <sys/mman.h>
-#include <sys/fcntl.h>
#include <sys/sysctl.h>
-#include <err.h>
-#include <paths.h>
#include <machine/bwx.h>
#include <machine/cpu.h>
#include <machine/sysarch.h>
+#include <err.h>
+#include <fcntl.h>
+#include <paths.h>
#include <stdlib.h>
#include <unistd.h>