diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:03 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:22 +0000 |
commit | b6a0aa053711e27e1a7825c1fca662beb05bee6f (patch) | |
tree | 8f237f3d3f8aa482f121f0a19abc0c52ce1ab398 /hw/acpi | |
parent | d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2 (diff) |
x86: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-11-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/acpi')
-rw-r--r-- | hw/acpi/acpi_interface.c | 1 | ||||
-rw-r--r-- | hw/acpi/aml-build.c | 6 | ||||
-rw-r--r-- | hw/acpi/bios-linker-loader.c | 1 | ||||
-rw-r--r-- | hw/acpi/core.c | 1 | ||||
-rw-r--r-- | hw/acpi/cpu_hotplug.c | 1 | ||||
-rw-r--r-- | hw/acpi/cpu_hotplug_acpi_table.c | 1 | ||||
-rw-r--r-- | hw/acpi/ich9.c | 1 | ||||
-rw-r--r-- | hw/acpi/memory_hotplug.c | 1 | ||||
-rw-r--r-- | hw/acpi/memory_hotplug_acpi_table.c | 2 | ||||
-rw-r--r-- | hw/acpi/nvdimm.c | 1 | ||||
-rw-r--r-- | hw/acpi/pcihp.c | 1 | ||||
-rw-r--r-- | hw/acpi/piix4.c | 1 | ||||
-rw-r--r-- | hw/acpi/tco.c | 1 |
13 files changed, 13 insertions, 6 deletions
diff --git a/hw/acpi/acpi_interface.c b/hw/acpi/acpi_interface.c index c181bb2262..d82131326a 100644 --- a/hw/acpi/acpi_interface.c +++ b/hw/acpi/acpi_interface.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/acpi/acpi_dev_interface.h" #include "qemu/module.h" diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 78e1290208..21d2ea0c9c 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -19,12 +19,8 @@ * with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include <glib/gprintf.h> -#include <stdio.h> -#include <stdarg.h> -#include <assert.h> -#include <stdbool.h> -#include <string.h> #include "hw/acpi/aml-build.h" #include "qemu/bswap.h" #include "qemu/bitops.h" diff --git a/hw/acpi/bios-linker-loader.c b/hw/acpi/bios-linker-loader.c index d9382f826a..e04d60ad3f 100644 --- a/hw/acpi/bios-linker-loader.c +++ b/hw/acpi/bios-linker-loader.c @@ -18,6 +18,7 @@ * with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/acpi/bios-linker-loader.h" #include "hw/nvram/fw_cfg.h" diff --git a/hw/acpi/core.c b/hw/acpi/core.c index 21e113d713..397e6da9b6 100644 --- a/hw/acpi/core.c +++ b/hw/acpi/core.c @@ -18,6 +18,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "sysemu/sysemu.h" #include "hw/hw.h" #include "hw/i386/pc.h" diff --git a/hw/acpi/cpu_hotplug.c b/hw/acpi/cpu_hotplug.c index f5b9972f2d..2f99ec5455 100644 --- a/hw/acpi/cpu_hotplug.c +++ b/hw/acpi/cpu_hotplug.c @@ -9,6 +9,7 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/acpi/cpu_hotplug.h" diff --git a/hw/acpi/cpu_hotplug_acpi_table.c b/hw/acpi/cpu_hotplug_acpi_table.c index 13b210ea89..97bb1092a2 100644 --- a/hw/acpi/cpu_hotplug_acpi_table.c +++ b/hw/acpi/cpu_hotplug_acpi_table.c @@ -13,6 +13,7 @@ * with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "hw/acpi/cpu_hotplug.h" void build_cpu_hotplug_aml(Aml *ctx) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 1c7fcfa9d7..746d8901e4 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -23,6 +23,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qapi/visitor.h" #include "hw/i386/pc.h" diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c index 65cbc80414..f65a3a21ef 100644 --- a/hw/acpi/memory_hotplug.c +++ b/hw/acpi/memory_hotplug.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/acpi/memory_hotplug.h" #include "hw/acpi/pc-hotplug.h" #include "hw/mem/pc-dimm.h" diff --git a/hw/acpi/memory_hotplug_acpi_table.c b/hw/acpi/memory_hotplug_acpi_table.c index 080d9add5b..c75660215d 100644 --- a/hw/acpi/memory_hotplug_acpi_table.c +++ b/hw/acpi/memory_hotplug_acpi_table.c @@ -9,7 +9,7 @@ * See the COPYING file in the top-level directory. */ -#include <stdbool.h> +#include "qemu/osdep.h" #include "hw/acpi/memory_hotplug.h" #include "include/hw/acpi/pc-hotplug.h" #include "hw/boards.h" diff --git a/hw/acpi/nvdimm.c b/hw/acpi/nvdimm.c index df1b176b8f..7ee7e1623c 100644 --- a/hw/acpi/nvdimm.c +++ b/hw/acpi/nvdimm.c @@ -26,6 +26,7 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/> */ +#include "qemu/osdep.h" #include "hw/acpi/acpi.h" #include "hw/acpi/aml-build.h" #include "hw/mem/nvdimm.h" diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c index fbbc4dde4f..3e338b5ec2 100644 --- a/hw/acpi/pcihp.c +++ b/hw/acpi/pcihp.c @@ -24,6 +24,7 @@ * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/acpi/pcihp.h" #include "hw/hw.h" diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index 2cd2fee897..9694e5238f 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -18,6 +18,7 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/isa/apm.h" diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c index 7a026c255b..8ce7daf23a 100644 --- a/hw/acpi/tco.c +++ b/hw/acpi/tco.c @@ -6,6 +6,7 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "sysemu/watchdog.h" #include "hw/i386/ich9.h" |