summaryrefslogtreecommitdiff
path: root/lib/libutil/readlabel.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-30 00:25:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-06-30 00:25:38 +0000
commitc488df5aeabfc813600cbc810b175532b56fb18b (patch)
tree2894976feea3530491932941871ab390802ab0ed /lib/libutil/readlabel.c
parentf3312b30464b321754d9d5e89c05b4bf504cca39 (diff)
sort includes much more sensibly
Diffstat (limited to 'lib/libutil/readlabel.c')
-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"