diff options
author | krw <krw@openbsd.org> | 2015-12-01 06:39:52 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2015-12-01 06:39:52 +0000 |
commit | 35ca52279643f28d2e083f1912738d7f8b69d991 (patch) | |
tree | fb64775ae6855f7460784a416304dbd652d4b595 /usr.sbin/installboot | |
parent | Fix inexplicable use of 'disk' instead of 'disk.name' when trying to (diff) | |
download | wireguard-openbsd-35ca52279643f28d2e083f1912738d7f8b69d991.tar.xz wireguard-openbsd-35ca52279643f28d2e083f1912738d7f8b69d991.zip |
Don't need <sys/types.h> and <sys/param.h>. Nuke the former when DEV_BSIZE
is needed.
Diffstat (limited to 'usr.sbin/installboot')
-rw-r--r-- | usr.sbin/installboot/i386_installboot.c | 3 | ||||
-rw-r--r-- | usr.sbin/installboot/i386_softraid.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/installboot/i386_installboot.c b/usr.sbin/installboot/i386_installboot.c index 6e60504d60e..3e557343aaa 100644 --- a/usr.sbin/installboot/i386_installboot.c +++ b/usr.sbin/installboot/i386_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_installboot.c,v 1.18 2015/11/30 17:34:57 jsing Exp $ */ +/* $OpenBSD: i386_installboot.c,v 1.19 2015/12/01 06:39:52 krw Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -38,7 +38,6 @@ #define ELFSIZE 32 #include <sys/param.h> /* DEV_BSIZE */ -#include <sys/types.h> #include <sys/disklabel.h> #include <sys/dkio.h> #include <sys/ioctl.h> diff --git a/usr.sbin/installboot/i386_softraid.c b/usr.sbin/installboot/i386_softraid.c index 6010f5112dd..fec2740a40f 100644 --- a/usr.sbin/installboot/i386_softraid.c +++ b/usr.sbin/installboot/i386_softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_softraid.c,v 1.8 2015/10/28 20:32:41 stsp Exp $ */ +/* $OpenBSD: i386_softraid.c,v 1.9 2015/12/01 06:39:52 krw Exp $ */ /* * Copyright (c) 2012 Joel Sing <jsing@openbsd.org> * @@ -16,7 +16,6 @@ */ #include <sys/param.h> /* DEV_BSIZE */ -#include <sys/types.h> #include <sys/disklabel.h> #include <sys/dkio.h> #include <sys/ioctl.h> |