]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/core: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:17:29 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:25 +0000 (15:07 +0000)
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-37-git-send-email-peter.maydell@linaro.org

15 files changed:
hw/core/empty_slot.c
hw/core/fw-path-provider.c
hw/core/hotplug.c
hw/core/irq.c
hw/core/loader.c
hw/core/machine.c
hw/core/nmi.c
hw/core/null-machine.c
hw/core/platform-bus.c
hw/core/ptimer.c
hw/core/qdev-properties-system.c
hw/core/qdev-properties.c
hw/core/qdev.c
hw/core/stream.c
hw/core/sysbus.c

index 612b1093aafbf6ce55868935fc3fdcc04113ffc2..c1b9c2b10416bb3e5036ba70a432082c6a76e45a 100644 (file)
@@ -9,6 +9,7 @@
  * version.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "hw/empty_slot.h"
index 7442d322d573397929d8c2c51c2ec20ce93a0e87..33b99830e78473650e5c9101efda979d1708d3b6 100644 (file)
@@ -15,6 +15,7 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/fw-path-provider.h"
 
 char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus,
index 4e010745576c28c79abd211718a9dc6514a4d0c6..645cfca1b9b6543170970952de87e78719a5cf4c 100644 (file)
@@ -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/hotplug.h"
 #include "qemu/module.h"
 
index 8a62a36d5e8585f10f21006aac20faa5b7819e01..49ff2e64fe3a8ae0594ecc810842cf5386e5a005 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "hw/irq.h"
 #include "qom/object.h"
index 6b698524795b1e49f153caab5cc72d9b658a73d1..3a57415bf892a3b86aa624a78d8d6046dd59272d 100644 (file)
@@ -42,6 +42,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "disas/disas.h"
 #include "monitor/monitor.h"
index c46ddc7d1592288e743e0988def3de353bf1c3e5..1261368add36eccc40016f382b887c104877766e 100644 (file)
@@ -10,6 +10,7 @@
  * See the COPYING file in the top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include "hw/boards.h"
 #include "qapi-visit.h"
 #include "qapi/visitor.h"
index 4057cdd6a2c7618b85ca9ec612a855f0e01223ee..6ca569bd7f964434ed6cf903dad05c6bad1c1fa5 100644 (file)
@@ -19,6 +19,7 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/nmi.h"
 #include "qapi/qmp/qerror.h"
 #include "monitor/monitor.h"
index f36fbf231804310d64de1e3d55162c6fc0d948e7..0351ba7828255cf3bc366fce2bed0ba458f4429f 100644 (file)
@@ -11,6 +11,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
index aa55d0181797079e4c2ee3d6dca360e9e0fcd59c..36f84ab72f754eff6b711d6e6a197d0feddaecb8 100644 (file)
@@ -19,6 +19,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/platform-bus.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
index edf077cfd0a8ebdf42d5acdafd3d7153b8bda19f..153c8351362ca9a508e60fb8b4ca3950ff5ec799 100644 (file)
@@ -5,6 +5,7 @@
  *
  * This code is licensed under the GNU LGPL.
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
index 1589abaf60524c7d5a8ed817c63f6d5db66d0497..ff00f5c9cb50d889e9add41d6f2cfbe6c4c6a15c 100644 (file)
@@ -10,6 +10,7 @@
  * See the COPYING file in the top-level directory.
  */
 
+#include "qemu/osdep.h"
 #include "net/net.h"
 #include "hw/qdev.h"
 #include "qapi/qmp/qerror.h"
index aacad669e3d3cbaf99cbc021830f4f4b044a82c7..e878e80c67f406fef44163fe72f0b5580cc721fb 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "net/net.h"
 #include "hw/qdev.h"
 #include "qapi/qmp/qerror.h"
index 655f5d5d5b1acfd5122b9c697798278d783e726c..779de2ba933cf55b01575614a57b8cd0843183ef 100644 (file)
    inherit from a particular bus (e.g. PCI or I2C) rather than
    this API directly.  */
 
+#include "qemu/osdep.h"
 #include "hw/qdev.h"
 #include "hw/fw-path-provider.h"
 #include "sysemu/sysemu.h"
-#include "qapi/error.h"
 #include "qapi/qmp/qerror.h"
 #include "qapi/visitor.h"
 #include "qapi/qmp/qjson.h"
index e6a05a543eb2f88f926614ac81d3190559fd5559..4439ecdf0b98854b397e1781e9f2d06160a7570e 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/stream.h"
 
 size_t
index 3c586298940433cd8df5ba587adee07903b0d974..a7dbe2b324700bc15287b467614f8d78ea26ca78 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "monitor/monitor.h"
 #include "exec/address-spaces.h"