From: deraadt Date: Wed, 17 Aug 2016 05:07:13 +0000 (+0000) Subject: small bits of header cleanup; ok mlarkin X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=873027664c4e36901167380f74ef8fe5d8f7172b;p=openbsd small bits of header cleanup; ok mlarkin --- diff --git a/usr.sbin/vmd/control.c b/usr.sbin/vmd/control.c index 75460437852..f3688063385 100644 --- a/usr.sbin/vmd/control.c +++ b/usr.sbin/vmd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.6 2016/01/10 10:01:07 jsg Exp $ */ +/* $OpenBSD: control.c,v 1.7 2016/08/17 05:07:13 deraadt Exp $ */ /* * Copyright (c) 2010-2015 Reyk Floeter @@ -17,7 +17,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include /* nitems */ #include #include #include diff --git a/usr.sbin/vmd/loadfile_elf.c b/usr.sbin/vmd/loadfile_elf.c index bcf2321b945..a95a0bdb03d 100644 --- a/usr.sbin/vmd/loadfile_elf.c +++ b/usr.sbin/vmd/loadfile_elf.c @@ -1,5 +1,5 @@ /* $NetBSD: loadfile.c,v 1.10 2000/12/03 02:53:04 tsutsui Exp $ */ -/* $OpenBSD: loadfile_elf.c,v 1.15 2016/05/26 17:10:15 stefan Exp $ */ +/* $OpenBSD: loadfile_elf.c,v 1.16 2016/08/17 05:07:13 deraadt Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -81,6 +81,12 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include /* PAGE_SIZE PAGE_MASK roundup */ +#include +#include +#include +#include + #include #include #include @@ -89,14 +95,8 @@ #include #include #include -#include #include -#include -#include -#include - -#include #include #include #include diff --git a/usr.sbin/vmd/pci.c b/usr.sbin/vmd/pci.c index 754ddb078e4..d935cc88583 100644 --- a/usr.sbin/vmd/pci.c +++ b/usr.sbin/vmd/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.6 2016/01/14 02:46:40 mlarkin Exp $ */ +/* $OpenBSD: pci.c,v 1.7 2016/08/17 05:07:13 deraadt Exp $ */ /* * Copyright (c) 2015 Mike Larkin @@ -16,12 +16,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include #include + #include #include #include #include + +#include #include "vmd.h" #include "pci.h" diff --git a/usr.sbin/vmd/virtio.c b/usr.sbin/vmd/virtio.c index 02eb053362a..0610226d17b 100644 --- a/usr.sbin/vmd/virtio.c +++ b/usr.sbin/vmd/virtio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtio.c,v 1.16 2016/07/19 09:52:34 natano Exp $ */ +/* $OpenBSD: virtio.c,v 1.17 2016/08/17 05:07:13 deraadt Exp $ */ /* * Copyright (c) 2015 Mike Larkin @@ -16,19 +16,21 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include /* PAGE_SIZE */ + +#include +#include +#include +#include +#include + #include #include #include #include #include -#include #include -#include -#include -#include -#include -#include -#include + #include "pci.h" #include "vmd.h" #include "virtio.h" diff --git a/usr.sbin/vmd/vmd.c b/usr.sbin/vmd/vmd.c index 06e30965db3..b2985cc67d7 100644 --- a/usr.sbin/vmd/vmd.c +++ b/usr.sbin/vmd/vmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmd.c,v 1.28 2016/07/29 16:36:51 stefan Exp $ */ +/* $OpenBSD: vmd.c,v 1.29 2016/08/17 05:07:13 deraadt Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -16,7 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include /* nitems */ #include #include #include diff --git a/usr.sbin/vmd/vmm.c b/usr.sbin/vmd/vmm.c index cb0af49f975..ad5ab412317 100644 --- a/usr.sbin/vmd/vmm.c +++ b/usr.sbin/vmd/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.35 2016/08/01 16:32:10 stefan Exp $ */ +/* $OpenBSD: vmm.c,v 1.36 2016/08/17 05:07:13 deraadt Exp $ */ /* * Copyright (c) 2015 Mike Larkin @@ -16,7 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#include /* nitems */ #include #include #include @@ -30,7 +30,6 @@ #include #include -#include #include #include