391fb81
From 7957f6ee42418f6b3de6148279b10faa292b2db2 Mon Sep 17 00:00:00 2001
391fb81
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
391fb81
Date: Thu, 11 Dec 2014 11:46:36 +0000
391fb81
Subject: [PATCH 03/15] Sort include/qemu/typedefs.h
391fb81
MIME-Version: 1.0
391fb81
Content-Type: text/plain; charset=UTF-8
391fb81
Content-Transfer-Encoding: 8bit
391fb81
391fb81
Mainly to make it less likely to conflict during merges.
391fb81
391fb81
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
391fb81
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
391fb81
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
391fb81
(cherry picked from commit 64baadc2726ae929660dd0c61a42e8d9f3ba1828)
391fb81
---
391fb81
 include/qemu/typedefs.h | 105 +++++++++++++++++++++++-------------------------
391fb81
 1 file changed, 50 insertions(+), 55 deletions(-)
391fb81
391fb81
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
391fb81
index 3475177..57ff47f 100644
391fb81
--- a/include/qemu/typedefs.h
391fb81
+++ b/include/qemu/typedefs.h
391fb81
@@ -3,80 +3,75 @@
391fb81
 
391fb81
 /* A load of opaque types so that device init declarations don't have to
391fb81
    pull in all the real definitions.  */
391fb81
-typedef struct QEMUTimer QEMUTimer;
391fb81
-typedef struct QEMUTimerListGroup QEMUTimerListGroup;
391fb81
-typedef struct QEMUFile QEMUFile;
391fb81
-typedef struct QEMUBH QEMUBH;
391fb81
-
391fb81
-typedef struct AioContext AioContext;
391fb81
-
391fb81
-typedef struct Visitor Visitor;
391fb81
-
391fb81
 struct Monitor;
391fb81
-typedef struct Monitor Monitor;
391fb81
-typedef struct MigrationParams MigrationParams;
391fb81
-
391fb81
-typedef struct Property Property;
391fb81
-typedef struct PropertyInfo PropertyInfo;
391fb81
-typedef struct CompatProperty CompatProperty;
391fb81
-typedef struct DeviceState DeviceState;
391fb81
-typedef struct BusState BusState;
391fb81
-typedef struct BusClass BusClass;
391fb81
 
391fb81
+/* Please keep this list in alphabetical order */
391fb81
+typedef struct AdapterInfo AdapterInfo;
391fb81
 typedef struct AddressSpace AddressSpace;
391fb81
-typedef struct MemoryRegion MemoryRegion;
391fb81
-typedef struct MemoryRegionSection MemoryRegionSection;
391fb81
-typedef struct MemoryListener MemoryListener;
391fb81
-
391fb81
-typedef struct MemoryMappingList MemoryMappingList;
391fb81
-
391fb81
-typedef struct QEMUMachine QEMUMachine;
391fb81
-typedef struct MachineClass MachineClass;
391fb81
-typedef struct MachineState MachineState;
391fb81
-typedef struct NICInfo NICInfo;
391fb81
-typedef struct HCIInfo HCIInfo;
391fb81
+typedef struct AioContext AioContext;
391fb81
 typedef struct AudioState AudioState;
391fb81
 typedef struct BlockBackend BlockBackend;
391fb81
 typedef struct BlockDriverState BlockDriverState;
391fb81
-typedef struct DriveInfo DriveInfo;
391fb81
-typedef struct DisplayState DisplayState;
391fb81
+typedef struct BusClass BusClass;
391fb81
+typedef struct BusState BusState;
391fb81
+typedef struct CharDriverState CharDriverState;
391fb81
+typedef struct CompatProperty CompatProperty;
391fb81
+typedef struct DeviceState DeviceState;
391fb81
 typedef struct DisplayChangeListener DisplayChangeListener;
391fb81
+typedef struct DisplayState DisplayState;
391fb81
 typedef struct DisplaySurface DisplaySurface;
391fb81
-typedef struct PixelFormat PixelFormat;
391fb81
-typedef struct QemuConsole QemuConsole;
391fb81
-typedef struct CharDriverState CharDriverState;
391fb81
-typedef struct MACAddr MACAddr;
391fb81
-typedef struct NetClientState NetClientState;
391fb81
+typedef struct DriveInfo DriveInfo;
391fb81
+typedef struct EventNotifier EventNotifier;
391fb81
+typedef struct FWCfgState FWCfgState;
391fb81
+typedef struct HCIInfo HCIInfo;
391fb81
 typedef struct I2CBus I2CBus;
391fb81
+typedef struct I2SCodec I2SCodec;
391fb81
 typedef struct ISABus ISABus;
391fb81
 typedef struct ISADevice ISADevice;
391fb81
-typedef struct SMBusDevice SMBusDevice;
391fb81
-typedef struct PCIHostState PCIHostState;
391fb81
-typedef struct PCIExpressHost PCIExpressHost;
391fb81
+typedef struct MACAddr MACAddr;
391fb81
+typedef struct MachineClass MachineClass;
391fb81
+typedef struct MachineState MachineState;
391fb81
+typedef struct MemoryListener MemoryListener;
391fb81
+typedef struct MemoryMappingList MemoryMappingList;
391fb81
+typedef struct MemoryRegion MemoryRegion;
391fb81
+typedef struct MemoryRegionSection MemoryRegionSection;
391fb81
+typedef struct MigrationParams MigrationParams;
391fb81
+typedef struct Monitor Monitor;
391fb81
+typedef struct MouseTransformInfo MouseTransformInfo;
391fb81
+typedef struct MSIMessage MSIMessage;
391fb81
+typedef struct NetClientState NetClientState;
391fb81
+typedef struct NICInfo NICInfo;
391fb81
+typedef struct PcGuestInfo PcGuestInfo;
391fb81
+typedef struct PCIBridge PCIBridge;
391fb81
 typedef struct PCIBus PCIBus;
391fb81
 typedef struct PCIDevice PCIDevice;
391fb81
-typedef struct PCIExpressDevice PCIExpressDevice;
391fb81
-typedef struct PCIBridge PCIBridge;
391fb81
-typedef struct PCIEAERMsg PCIEAERMsg;
391fb81
-typedef struct PCIEAERLog PCIEAERLog;
391fb81
 typedef struct PCIEAERErr PCIEAERErr;
391fb81
+typedef struct PCIEAERLog PCIEAERLog;
391fb81
+typedef struct PCIEAERMsg PCIEAERMsg;
391fb81
 typedef struct PCIEPort PCIEPort;
391fb81
 typedef struct PCIESlot PCIESlot;
391fb81
-typedef struct MSIMessage MSIMessage;
391fb81
-typedef struct SerialState SerialState;
391fb81
+typedef struct PCIExpressDevice PCIExpressDevice;
391fb81
+typedef struct PCIExpressHost PCIExpressHost;
391fb81
+typedef struct PCIHostState PCIHostState;
391fb81
 typedef struct PCMCIACardState PCMCIACardState;
391fb81
-typedef struct MouseTransformInfo MouseTransformInfo;
391fb81
-typedef struct uWireSlave uWireSlave;
391fb81
-typedef struct I2SCodec I2SCodec;
391fb81
-typedef struct SSIBus SSIBus;
391fb81
-typedef struct EventNotifier EventNotifier;
391fb81
-typedef struct VirtIODevice VirtIODevice;
391fb81
+typedef struct PixelFormat PixelFormat;
391fb81
+typedef struct PropertyInfo PropertyInfo;
391fb81
+typedef struct Property Property;
391fb81
+typedef struct QEMUBH QEMUBH;
391fb81
+typedef struct QemuConsole QemuConsole;
391fb81
+typedef struct QEMUFile QEMUFile;
391fb81
+typedef struct QEMUMachine QEMUMachine;
391fb81
 typedef struct QEMUSGList QEMUSGList;
391fb81
 typedef struct QEMUSizedBuffer QEMUSizedBuffer;
391fb81
-typedef struct SHPCDevice SHPCDevice;
391fb81
-typedef struct FWCfgState FWCfgState;
391fb81
-typedef struct PcGuestInfo PcGuestInfo;
391fb81
+typedef struct QEMUTimerListGroup QEMUTimerListGroup;
391fb81
+typedef struct QEMUTimer QEMUTimer;
391fb81
 typedef struct Range Range;
391fb81
-typedef struct AdapterInfo AdapterInfo;
391fb81
+typedef struct SerialState SerialState;
391fb81
+typedef struct SHPCDevice SHPCDevice;
391fb81
+typedef struct SMBusDevice SMBusDevice;
391fb81
+typedef struct SSIBus SSIBus;
391fb81
+typedef struct uWireSlave uWireSlave;
391fb81
+typedef struct VirtIODevice VirtIODevice;
391fb81
+typedef struct Visitor Visitor;
391fb81
 
391fb81
 #endif /* QEMU_TYPEDEFS_H */
391fb81
-- 
391fb81
2.1.0
391fb81