diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-03-01 08:40:35 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-03-03 11:16:45 -0500 |
commit | a105acbce3954cb31ab30cae04f489dfe07cfd02 (patch) | |
tree | 13ace6d3f37cee8f2ebd8cc04b53eb265afe6855 | |
parent | 678e48a2e43d1cafbb510c60d7597897b0d90256 (diff) | |
download | qemu-a105acbce3954cb31ab30cae04f489dfe07cfd02.zip |
qapi: Drop nonsensical header guard in generated qapi-visit.c
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
-rw-r--r-- | scripts/qapi-visit.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py index b2a1c1ca88..97e9b113d9 100644 --- a/scripts/qapi-visit.py +++ b/scripts/qapi-visit.py @@ -494,10 +494,8 @@ fdecl.write(guardend("QAPI_VISIT_BUILTIN_VISITOR_DECL")) # have the functions defined, so we use -b option to provide control # over these cases if do_builtins: - fdef.write(guardstart("QAPI_VISIT_BUILTIN_VISITOR_DEF")) for typename in builtin_types: fdef.write(generate_visit_list(typename, None)) - fdef.write(guardend("QAPI_VISIT_BUILTIN_VISITOR_DEF")) for expr in exprs: if expr.has_key('type'): |