diff options
author | Markus Armbruster | 2015-07-01 16:55:15 +0200 |
---|---|---|
committer | Markus Armbruster | 2015-09-04 15:47:16 +0200 |
commit | 3a864e7c52af15017d5082a9ee39a7919f46d2b5 (patch) | |
tree | e12802f60d150a3b739e67d9674a44a6eca35882 /scripts/qapi-event.py | |
parent | qapi-commands: Drop useless initialization (diff) | |
download | qemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.tar.gz qemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.tar.xz qemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.zip |
qapi: Generated code cleanup
Clean up white-space, brace placement, and superfluous #ifdef
QAPI_TYPES_BUILTIN_CLEANUP_DEF.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi-event.py')
-rw-r--r-- | scripts/qapi-event.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/qapi-event.py b/scripts/qapi-event.py index 88b0620d00..7f238df5b2 100644 --- a/scripts/qapi-event.py +++ b/scripts/qapi-event.py @@ -167,8 +167,7 @@ extern const char *%(event_enum_name)s_lookup[]; event_enum_name = event_enum_name) enum_decl = mcgen(''' -typedef enum %(event_enum_name)s -{ +typedef enum %(event_enum_name)s { ''', event_enum_name = event_enum_name) |