diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-22 19:11:19 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | a9c94277f07d19d3eb14f199c3e93491aa3eae0e (patch) | |
tree | fbacb9207afd71c3ad206a4099099d95b7824c16 /include | |
parent | b35399bb4e9968296a12303b00f9f2066470e987 (diff) |
Use #include "..." for our own headers, <...> for others
Tracked down with an ugly, brittle and probably buggy Perl script.
Also move includes converted to <...> up so they get included before
ours where that's obviously okay.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/helper-gen.h | 2 | ||||
-rw-r--r-- | include/exec/helper-proto.h | 2 | ||||
-rw-r--r-- | include/exec/helper-tcg.h | 2 | ||||
-rw-r--r-- | include/exec/tb-hash-xx.h | 2 | ||||
-rw-r--r-- | include/hw/gpio/imx_gpio.h | 2 | ||||
-rw-r--r-- | include/hw/i2c/imx_i2c.h | 2 | ||||
-rw-r--r-- | include/hw/ide/ahci.h | 2 | ||||
-rw-r--r-- | include/hw/ide/internal.h | 4 | ||||
-rw-r--r-- | include/hw/ide/pci.h | 2 | ||||
-rw-r--r-- | include/hw/ppc/spapr_drc.h | 2 | ||||
-rw-r--r-- | include/hw/s390x/event-facility.h | 2 | ||||
-rw-r--r-- | include/hw/s390x/sclp.h | 4 | ||||
-rw-r--r-- | include/hw/s390x/storage-keys.h | 2 | ||||
-rw-r--r-- | include/migration/vmstate.h | 2 | ||||
-rw-r--r-- | include/qemu/seqlock.h | 4 | ||||
-rw-r--r-- | include/qemu/thread-posix.h | 3 | ||||
-rw-r--r-- | include/qemu/thread-win32.h | 3 |
17 files changed, 22 insertions, 20 deletions
diff --git a/include/exec/helper-gen.h b/include/exec/helper-gen.h index 0d0da3aeb3..be96254e5a 100644 --- a/include/exec/helper-gen.h +++ b/include/exec/helper-gen.h @@ -4,7 +4,7 @@ #ifndef HELPER_GEN_H #define HELPER_GEN_H 1 -#include <exec/helper-head.h> +#include "exec/helper-head.h" #define DEF_HELPER_FLAGS_0(name, flags, ret) \ static inline void glue(gen_helper_, name)(dh_retvar_decl0(ret)) \ diff --git a/include/exec/helper-proto.h b/include/exec/helper-proto.h index effdd4383a..00901370ed 100644 --- a/include/exec/helper-proto.h +++ b/include/exec/helper-proto.h @@ -4,7 +4,7 @@ #ifndef HELPER_PROTO_H #define HELPER_PROTO_H 1 -#include <exec/helper-head.h> +#include "exec/helper-head.h" #define DEF_HELPER_FLAGS_0(name, flags, ret) \ dh_ctype(ret) HELPER(name) (void); diff --git a/include/exec/helper-tcg.h b/include/exec/helper-tcg.h index 79fa3c8c81..62d87a32d6 100644 --- a/include/exec/helper-tcg.h +++ b/include/exec/helper-tcg.h @@ -4,7 +4,7 @@ #ifndef HELPER_TCG_H #define HELPER_TCG_H 1 -#include <exec/helper-head.h> +#include "exec/helper-head.h" #define DEF_HELPER_FLAGS_0(NAME, FLAGS, ret) \ { .func = HELPER(NAME), .name = #NAME, .flags = FLAGS, \ diff --git a/include/exec/tb-hash-xx.h b/include/exec/tb-hash-xx.h index 9f3fc05636..85b741d02a 100644 --- a/include/exec/tb-hash-xx.h +++ b/include/exec/tb-hash-xx.h @@ -33,7 +33,7 @@ #ifndef EXEC_TB_HASH_XX #define EXEC_TB_HASH_XX -#include <qemu/bitops.h> +#include "qemu/bitops.h" #define PRIME32_1 2654435761U #define PRIME32_2 2246822519U diff --git a/include/hw/gpio/imx_gpio.h b/include/hw/gpio/imx_gpio.h index b15a09fbca..4573570384 100644 --- a/include/hw/gpio/imx_gpio.h +++ b/include/hw/gpio/imx_gpio.h @@ -20,7 +20,7 @@ #ifndef __IMX_GPIO_H_ #define __IMX_GPIO_H_ -#include <hw/sysbus.h> +#include "hw/sysbus.h" #define TYPE_IMX_GPIO "imx.gpio" #define IMX_GPIO(obj) OBJECT_CHECK(IMXGPIOState, (obj), TYPE_IMX_GPIO) diff --git a/include/hw/i2c/imx_i2c.h b/include/hw/i2c/imx_i2c.h index e2ee8eaee8..fb95df5a52 100644 --- a/include/hw/i2c/imx_i2c.h +++ b/include/hw/i2c/imx_i2c.h @@ -21,7 +21,7 @@ #ifndef __IMX_I2C_H_ #define __IMX_I2C_H_ -#include <hw/sysbus.h> +#include "hw/sysbus.h" #define TYPE_IMX_I2C "imx.i2c" #define IMX_I2C(obj) OBJECT_CHECK(IMXI2CState, (obj), TYPE_IMX_I2C) diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h index bc777ed5c2..0ca7c65820 100644 --- a/include/hw/ide/ahci.h +++ b/include/hw/ide/ahci.h @@ -24,7 +24,7 @@ #ifndef HW_IDE_AHCI_H #define HW_IDE_AHCI_H -#include <hw/sysbus.h> +#include "hw/sysbus.h" #define AHCI_MEM_BAR_SIZE 0x1000 #define AHCI_MAX_PORTS 32 diff --git a/include/hw/ide/internal.h b/include/hw/ide/internal.h index 773928af77..7824bc34ce 100644 --- a/include/hw/ide/internal.h +++ b/include/hw/ide/internal.h @@ -6,8 +6,8 @@ * only files in hw/ide/ are supposed to include this file. * non-internal declarations are in hw/ide.h */ -#include <hw/ide.h> -#include <hw/isa/isa.h> +#include "hw/ide.h" +#include "hw/isa/isa.h" #include "sysemu/dma.h" #include "sysemu/sysemu.h" #include "hw/block/block.h" diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h index 0f2d4b91a7..dbc6a0383d 100644 --- a/include/hw/ide/pci.h +++ b/include/hw/ide/pci.h @@ -1,7 +1,7 @@ #ifndef HW_IDE_PCI_H #define HW_IDE_PCI_H -#include <hw/ide/internal.h> +#include "hw/ide/internal.h" #define BM_STATUS_DMAING 0x01 #define BM_STATUS_ERROR 0x02 diff --git a/include/hw/ppc/spapr_drc.h b/include/hw/ppc/spapr_drc.h index 08e8411463..6aa506fbc3 100644 --- a/include/hw/ppc/spapr_drc.h +++ b/include/hw/ppc/spapr_drc.h @@ -12,9 +12,9 @@ #if !defined(__HW_SPAPR_DRC_H__) #define __HW_SPAPR_DRC_H__ +#include <libfdt.h> #include "qom/object.h" #include "hw/qdev.h" -#include "libfdt.h" #define TYPE_SPAPR_DR_CONNECTOR "spapr-dr-connector" #define SPAPR_DR_CONNECTOR_GET_CLASS(obj) \ diff --git a/include/hw/s390x/event-facility.h b/include/hw/s390x/event-facility.h index dd8881838c..def1bb0c03 100644 --- a/include/hw/s390x/event-facility.h +++ b/include/hw/s390x/event-facility.h @@ -15,7 +15,7 @@ #ifndef HW_S390_SCLP_EVENT_FACILITY_H #define HW_S390_SCLP_EVENT_FACILITY_H -#include <hw/qdev.h> +#include "hw/qdev.h" #include "qemu/thread.h" #include "hw/s390x/sclp.h" diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h index fbf357d2ed..ba28d1dd0e 100644 --- a/include/hw/s390x/sclp.h +++ b/include/hw/s390x/sclp.h @@ -14,8 +14,8 @@ #ifndef HW_S390_SCLP_H #define HW_S390_SCLP_H -#include <hw/sysbus.h> -#include <hw/qdev.h> +#include "hw/sysbus.h" +#include "hw/qdev.h" #define SCLP_CMD_CODE_MASK 0xffff00ff diff --git a/include/hw/s390x/storage-keys.h b/include/hw/s390x/storage-keys.h index 72b850cb17..5ed7a0ebb0 100644 --- a/include/hw/s390x/storage-keys.h +++ b/include/hw/s390x/storage-keys.h @@ -12,7 +12,7 @@ #ifndef __S390_STORAGE_KEYS_H #define __S390_STORAGE_KEYS_H -#include <hw/qdev.h> +#include "hw/qdev.h" #include "monitor/monitor.h" #define TYPE_S390_SKEYS "s390-skeys" diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 15ea7679bd..8e31b9b6ec 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -27,7 +27,7 @@ #define QEMU_VMSTATE_H 1 #ifndef CONFIG_USER_ONLY -#include <migration/qemu-file.h> +#include "migration/qemu-file.h" #endif #include "migration/qjson.h" diff --git a/include/qemu/seqlock.h b/include/qemu/seqlock.h index 4dfc055353..18eb3fda9d 100644 --- a/include/qemu/seqlock.h +++ b/include/qemu/seqlock.h @@ -13,8 +13,8 @@ #ifndef QEMU_SEQLOCK_H #define QEMU_SEQLOCK_H 1 -#include <qemu/atomic.h> -#include <qemu/thread.h> +#include "qemu/atomic.h" +#include "qemu/thread.h" typedef struct QemuSeqLock QemuSeqLock; diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h index eb5c7a1da1..24f84908b0 100644 --- a/include/qemu/thread-posix.h +++ b/include/qemu/thread-posix.h @@ -1,6 +1,7 @@ #ifndef __QEMU_THREAD_POSIX_H #define __QEMU_THREAD_POSIX_H 1 -#include "pthread.h" + +#include <pthread.h> #include <semaphore.h> struct QemuMutex { diff --git a/include/qemu/thread-win32.h b/include/qemu/thread-win32.h index 385ff5f76a..1417d38b47 100644 --- a/include/qemu/thread-win32.h +++ b/include/qemu/thread-win32.h @@ -1,6 +1,7 @@ #ifndef __QEMU_THREAD_WIN32_H #define __QEMU_THREAD_WIN32_H 1 -#include "windows.h" + +#include <windows.h> struct QemuMutex { CRITICAL_SECTION lock; |