mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 04:21:50 -06:00
qapi: Tidy up whitespace in generated code
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221104160712.3005652-3-armbru@redhat.com>
This commit is contained in:
parent
a680ea072f
commit
7df184613c
3 changed files with 3 additions and 6 deletions
|
@ -1664,7 +1664,6 @@ Example::
|
||||||
$ cat qapi-generated/example-qapi-commands.c
|
$ cat qapi-generated/example-qapi-commands.c
|
||||||
[Uninteresting stuff omitted...]
|
[Uninteresting stuff omitted...]
|
||||||
|
|
||||||
|
|
||||||
static void qmp_marshal_output_UserDefOne(UserDefOne *ret_in,
|
static void qmp_marshal_output_UserDefOne(UserDefOne *ret_in,
|
||||||
QObject **ret_out, Error **errp)
|
QObject **ret_out, Error **errp)
|
||||||
{
|
{
|
||||||
|
|
|
@ -316,7 +316,6 @@ class QAPISchemaGenCommandVisitor(QAPISchemaModularCVisitor):
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "%(visit)s.h"
|
#include "%(visit)s.h"
|
||||||
#include "%(commands)s.h"
|
#include "%(commands)s.h"
|
||||||
|
|
||||||
''',
|
''',
|
||||||
commands=commands, visit=visit))
|
commands=commands, visit=visit))
|
||||||
|
|
||||||
|
|
|
@ -196,7 +196,6 @@ class QAPISchemaGenEventVisitor(QAPISchemaModularCVisitor):
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qapi/qmp-event.h"
|
#include "qapi/qmp-event.h"
|
||||||
|
|
||||||
''',
|
''',
|
||||||
events=events, visit=visit,
|
events=events, visit=visit,
|
||||||
prefix=self._prefix))
|
prefix=self._prefix))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue