aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-event.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-07-01 16:55:15 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-09-04 15:47:16 +0200
commit3a864e7c52af15017d5082a9ee39a7919f46d2b5 (patch)
treee12802f60d150a3b739e67d9674a44a6eca35882 /scripts/qapi-event.py
parent3f99144cd9afbf51a7fbddf20b921402c2d4f68c (diff)
downloadqemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.zip
qemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.tar.gz
qemu-3a864e7c52af15017d5082a9ee39a7919f46d2b5.tar.bz2
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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/qapi-event.py b/scripts/qapi-event.py
index 88b0620..7f238df 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)