mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
b35399bb4e
commit
a9c94277f0
91 changed files with 169 additions and 172 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue