提交 5f1450f5 编写于 作者: M Markus Armbruster

qapi: Emit a blank line before dummy declaration

We emit a dummy variable in each .c file "to shut up OSX toolchain
warnings about empty .o files" (commit 252dc310).  Separate it from
the code preceding it (if any) with a blank line.
Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
Message-Id: <20180828120736.32323-2-armbru@redhat.com>
Reviewed-by: NEric Blake <eblake@redhat.com>
上级 3ab72385
......@@ -2218,6 +2218,7 @@ class QAPIGenC(QAPIGenCCode):
def _bottom(self, fname):
return mcgen('''
/* Dummy declaration to prevent empty .o file */
char dummy_%(name)s;
''',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册