summaryrefslogtreecommitdiff
path: root/sbin/fdisk/mbr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 18:45:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 18:45:59 +0000
commit4b1e3c67f636009f717ee308a0a9314aca0b2c66 (patch)
treed0c2eff5d56ed4d3fb1cf20d980a4c4a7aca0f45 /sbin/fdisk/mbr.c
parent2a0ba084e0f8e0c21558eead3b0097b600021666 (diff)
more substantial include cleanup
Diffstat (limited to 'sbin/fdisk/mbr.c')
-rw-r--r--sbin/fdisk/mbr.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/sbin/fdisk/mbr.c b/sbin/fdisk/mbr.c
index b02e53aae28..85e4bc483d1 100644
--- a/sbin/fdisk/mbr.c
+++ b/sbin/fdisk/mbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbr.c,v 1.28 2012/04/04 13:14:44 krw Exp $ */
+/* $OpenBSD: mbr.c,v 1.29 2013/03/21 18:45:58 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -25,6 +25,12 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/types.h>
+#include <sys/fcntl.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/disklabel.h>
+#include <sys/dkio.h>
#include <err.h>
#include <errno.h>
#include <util.h>
@@ -32,13 +38,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <memory.h>
-#include <sys/fcntl.h>
-#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/disklabel.h>
-#include <sys/dkio.h>
-#include <machine/param.h>
#include "disk.h"
#include "misc.h"
#include "mbr.h"