summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-30 00:25:37 +0000
committerderaadt <deraadt@openbsd.org>2014-06-30 00:25:37 +0000
commit2e9a2e3e647b2a4441fbb6496ff1caf91181dc52 (patch)
tree4cfbdb3545d654d690dd8a05f764051d26d32b8c /lib/libutil
parentlimits.h rather than sys/param.h (diff)
downloadwireguard-openbsd-2e9a2e3e647b2a4441fbb6496ff1caf91181dc52.tar.xz
wireguard-openbsd-2e9a2e3e647b2a4441fbb6496ff1caf91181dc52.zip
sort includes much more sensibly
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/readlabel.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/libutil/readlabel.c b/lib/libutil/readlabel.c
index ad533a265e9..1260d7b27f5 100644
--- a/lib/libutil/readlabel.c
+++ b/lib/libutil/readlabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readlabel.c,v 1.11 2010/11/15 15:11:31 jsing Exp $ */
+/* $OpenBSD: readlabel.c,v 1.12 2014/06/30 00:25:37 deraadt Exp $ */
/*
* Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -25,7 +25,13 @@
* SUCH DAMAGE.
*/
-#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/disk.h>
+#include <sys/dkio.h>
+#define DKTYPENAMES
+#include <sys/disklabel.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
#include <stdio.h>
#include <err.h>
#include <errno.h>
@@ -33,13 +39,6 @@
#include <paths.h>
#include <string.h>
#include <unistd.h>
-#include <sys/disk.h>
-#include <sys/dkio.h>
-#define DKTYPENAMES
-#include <sys/disklabel.h>
-#include <sys/ioctl.h>
-#include <sys/param.h>
-#include <sys/stat.h>
#include "util.h"