From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7Er-0006qp-2Z for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7Ek-0004ay-Tj for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7Ek-0004aA-Ks for qemu-devel@nongnu.org; Thu, 23 Jun 2016 12:12:14 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B7701C0467C8 for ; Thu, 23 Jun 2016 16:12:13 +0000 (UTC) From: Markus Armbruster Date: Thu, 23 Jun 2016 18:12:08 +0200 Message-Id: <1466698330-6021-4-git-send-email-armbru@redhat.com> In-Reply-To: <1466698330-6021-1-git-send-email-armbru@redhat.com> References: <1466698330-6021-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH RFC 3/5] include/qemu/typedefs.h: Restore alphabetical order List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, mst@redhat.com, pbonzini@redhat.com While there, drop a comment that has become misleading. Signed-off-by: Markus Armbruster --- include/qemu/typedefs.h | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index b113fcf..f9745c4 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -1,9 +1,6 @@ #ifndef QEMU_TYPEDEFS_H #define QEMU_TYPEDEFS_H -/* A load of opaque types so that device init declarations don't have to - pull in all the real definitions. */ - /* Please keep this list in alphabetical order */ typedef struct AdapterInfo AdapterInfo; typedef struct AddressSpace AddressSpace; @@ -16,10 +13,10 @@ typedef struct BlockBackendRootState BlockBackendRootState; typedef struct BlockDriverState BlockDriverState; typedef struct BusClass BusClass; typedef struct BusState BusState; -typedef struct CharDriverState CharDriverState; -typedef struct CompatProperty CompatProperty; typedef struct CPUAddressSpace CPUAddressSpace; typedef struct CPUState CPUState; +typedef struct CharDriverState CharDriverState; +typedef struct CompatProperty CompatProperty; typedef struct DeviceListener DeviceListener; typedef struct DeviceState DeviceState; typedef struct DisplayChangeListener DisplayChangeListener; @@ -39,6 +36,7 @@ typedef struct ISADevice ISADevice; typedef struct IsaDma IsaDma; typedef struct LoadStateEntry LoadStateEntry; typedef struct MACAddr MACAddr; +typedef struct MSIMessage MSIMessage; typedef struct MachineClass MachineClass; typedef struct MachineState MachineState; typedef struct MemoryListener MemoryListener; @@ -51,11 +49,9 @@ typedef struct MigrationState MigrationState; typedef struct Monitor Monitor; typedef struct MonitorDef MonitorDef; typedef struct MouseTransformInfo MouseTransformInfo; -typedef struct MSIMessage MSIMessage; +typedef struct NICInfo NICInfo; typedef struct NetClientState NetClientState; typedef struct NetFilterState NetFilterState; -typedef struct NICInfo NICInfo; -typedef struct PcGuestInfo PcGuestInfo; typedef struct PCIBridge PCIBridge; typedef struct PCIBus PCIBus; typedef struct PCIDevice PCIDevice; @@ -68,31 +64,32 @@ typedef struct PCIExpressDevice PCIExpressDevice; typedef struct PCIExpressHost PCIExpressHost; typedef struct PCIHostDeviceAddress PCIHostDeviceAddress; typedef struct PCIHostState PCIHostState; +typedef struct PCMCIACardState PCMCIACardState; typedef struct PCMachineClass PCMachineClass; typedef struct PCMachineState PCMachineState; -typedef struct PCMCIACardState PCMCIACardState; +typedef struct PcGuestInfo PcGuestInfo; typedef struct PixelFormat PixelFormat; typedef struct PostcopyDiscardState PostcopyDiscardState; typedef struct Property Property; typedef struct PropertyInfo PropertyInfo; typedef struct QEMUBH QEMUBH; -typedef struct QemuConsole QemuConsole; typedef struct QEMUFile QEMUFile; -typedef struct QemuOpt QemuOpt; -typedef struct QemuOpts QemuOpts; -typedef struct QemuOptsList QemuOptsList; typedef struct QEMUSGList QEMUSGList; typedef struct QEMUTimer QEMUTimer; typedef struct QEMUTimerListGroup QEMUTimerListGroup; typedef struct QObject QObject; +typedef struct QemuConsole QemuConsole; +typedef struct QemuOpt QemuOpt; +typedef struct QemuOpts QemuOpts; +typedef struct QemuOptsList QemuOptsList; typedef struct RAMBlock RAMBlock; typedef struct Range Range; -typedef struct SerialState SerialState; typedef struct SHPCDevice SHPCDevice; typedef struct SMBusDevice SMBusDevice; typedef struct SSIBus SSIBus; -typedef struct uWireSlave uWireSlave; +typedef struct SerialState SerialState; typedef struct VirtIODevice VirtIODevice; typedef struct Visitor Visitor; +typedef struct uWireSlave uWireSlave; #endif /* QEMU_TYPEDEFS_H */ -- 2.5.5