diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:25 +0000 |
commit | 0430891ce162b986c6e02a7729a942ecd2a32ca4 (patch) | |
tree | f8b5b31225f71bfcf808c359a3d61083a1deb9c1 /hw/ipmi | |
parent | 18c86e2b9d85a89818f485c2cadafa6e3932e43a (diff) | |
download | qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.tar.gz qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.tar.bz2 qemu-0430891ce162b986c6e02a7729a942ecd2a32ca4.zip |
hw: 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-38-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/ipmi')
-rw-r--r-- | hw/ipmi/ipmi.c | 1 | ||||
-rw-r--r-- | hw/ipmi/ipmi_bmc_extern.c | 2 | ||||
-rw-r--r-- | hw/ipmi/ipmi_bmc_sim.c | 4 | ||||
-rw-r--r-- | hw/ipmi/isa_ipmi_bt.c | 1 | ||||
-rw-r--r-- | hw/ipmi/isa_ipmi_kcs.c | 1 |
5 files changed, 5 insertions, 4 deletions
diff --git a/hw/ipmi/ipmi.c b/hw/ipmi/ipmi.c index 52aba1e20d..dfab272f9e 100644 --- a/hw/ipmi/ipmi.c +++ b/hw/ipmi/ipmi.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ipmi/ipmi.h" #include "sysemu/sysemu.h" diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c index 56073b37ae..c31a3a02c2 100644 --- a/hw/ipmi/ipmi_bmc_extern.c +++ b/hw/ipmi/ipmi_bmc_extern.c @@ -27,7 +27,7 @@ * using the "VM" connection type. See that for details. */ -#include <stdint.h> +#include "qemu/osdep.h" #include "qemu/timer.h" #include "sysemu/char.h" #include "sysemu/sysemu.h" diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index 0a59e539f5..dcdab035d6 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -22,9 +22,7 @@ * THE SOFTWARE. */ -#include <stdio.h> -#include <string.h> -#include <stdint.h> +#include "qemu/osdep.h" #include "qemu/timer.h" #include "hw/ipmi/ipmi.h" #include "qemu/error-report.h" diff --git a/hw/ipmi/isa_ipmi_bt.c b/hw/ipmi/isa_ipmi_bt.c index ce1b78a5a6..ace2dc0a80 100644 --- a/hw/ipmi/isa_ipmi_bt.c +++ b/hw/ipmi/isa_ipmi_bt.c @@ -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 "hw/hw.h" #include "hw/ipmi/ipmi.h" #include "hw/isa/isa.h" diff --git a/hw/ipmi/isa_ipmi_kcs.c b/hw/ipmi/isa_ipmi_kcs.c index daa70c3cac..9841b7f3d5 100644 --- a/hw/ipmi/isa_ipmi_kcs.c +++ b/hw/ipmi/isa_ipmi_kcs.c @@ -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 "hw/hw.h" #include "hw/ipmi/ipmi.h" #include "hw/isa/isa.h" |