From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org.com
Subject: Re: [Qemu-devel] [PATCH] typedefs: Put them back into alphabetical order
Date: Thu, 19 Nov 2015 13:03:39 +0000 [thread overview]
Message-ID: <20151119130339.GC2653@work-vm> (raw)
In-Reply-To: <1447936168-9808-1-git-send-email-armbru@redhat.com>
* Markus Armbruster (armbru@redhat.com) wrote:
> "Please keep this list in alphabetical order" has been more honoured
> in the breach than in the observance. Clean up.
>
> While there, drop a redundant struct declaration.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Hmph, it's only a year since I sorted this file.
At least one of these changes is from a misordering within one patch!
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> include/qemu/typedefs.h | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
> index 6b1093d..3eedcf4 100644
> --- a/include/qemu/typedefs.h
> +++ b/include/qemu/typedefs.h
> @@ -3,7 +3,6 @@
>
> /* A load of opaque types so that device init declarations don't have to
> pull in all the real definitions. */
> -struct Monitor;
>
> /* Please keep this list in alphabetical order */
> typedef struct AdapterInfo AdapterInfo;
> @@ -19,8 +18,8 @@ typedef struct BusState BusState;
> typedef struct CharDriverState CharDriverState;
> typedef struct CompatProperty CompatProperty;
> typedef struct CPUAddressSpace CPUAddressSpace;
> -typedef struct DeviceState DeviceState;
> typedef struct DeviceListener DeviceListener;
> +typedef struct DeviceState DeviceState;
> typedef struct DisplayChangeListener DisplayChangeListener;
> typedef struct DisplayState DisplayState;
> typedef struct DisplaySurface DisplaySurface;
> @@ -46,6 +45,7 @@ typedef struct MigrationIncomingState MigrationIncomingState;
> typedef struct MigrationParams MigrationParams;
> typedef struct MigrationState MigrationState;
> typedef struct Monitor Monitor;
> +typedef struct MonitorDef MonitorDef;
> typedef struct MouseTransformInfo MouseTransformInfo;
> typedef struct MSIMessage MSIMessage;
> typedef struct NetClientState NetClientState;
> @@ -63,13 +63,13 @@ typedef struct PCIESlot PCIESlot;
> typedef struct PCIExpressDevice PCIExpressDevice;
> typedef struct PCIExpressHost PCIExpressHost;
> typedef struct PCIHostState PCIHostState;
> -typedef struct PCMachineState PCMachineState;
> typedef struct PCMachineClass PCMachineClass;
> +typedef struct PCMachineState PCMachineState;
> typedef struct PCMCIACardState PCMCIACardState;
> typedef struct PixelFormat PixelFormat;
> typedef struct PostcopyDiscardState PostcopyDiscardState;
> -typedef struct PropertyInfo PropertyInfo;
> typedef struct Property Property;
> +typedef struct PropertyInfo PropertyInfo;
> typedef struct QEMUBH QEMUBH;
> typedef struct QemuConsole QemuConsole;
> typedef struct QEMUFile QEMUFile;
> @@ -78,10 +78,10 @@ typedef struct QemuOpts QemuOpts;
> typedef struct QemuOptsList QemuOptsList;
> typedef struct QEMUSGList QEMUSGList;
> typedef struct QEMUSizedBuffer QEMUSizedBuffer;
> -typedef struct QEMUTimerListGroup QEMUTimerListGroup;
> typedef struct QEMUTimer QEMUTimer;
> -typedef struct Range Range;
> +typedef struct QEMUTimerListGroup QEMUTimerListGroup;
> typedef struct RAMBlock RAMBlock;
> +typedef struct Range Range;
> typedef struct SerialState SerialState;
> typedef struct SHPCDevice SHPCDevice;
> typedef struct SMBusDevice SMBusDevice;
> @@ -89,6 +89,5 @@ typedef struct SSIBus SSIBus;
> typedef struct uWireSlave uWireSlave;
> typedef struct VirtIODevice VirtIODevice;
> typedef struct Visitor Visitor;
> -typedef struct MonitorDef MonitorDef;
>
> #endif /* QEMU_TYPEDEFS_H */
> --
> 2.4.3
>
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2015-11-19 13:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 12:29 [Qemu-devel] [PATCH] typedefs: Put them back into alphabetical order Markus Armbruster
2015-11-19 13:03 ` Dr. David Alan Gilbert [this message]
2015-11-19 13:10 ` Daniel P. Berrange
2015-11-19 21:29 ` Eric Blake
2015-11-24 14:40 ` Markus Armbruster
2015-11-29 10:51 ` Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151119130339.GC2653@work-vm \
--to=dgilbert@redhat.com \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).