mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2024-10-13 14:52:34 +03:00
qobject: open brace '{' following struct go on the same line
Put open brace '{' on the same line of struct. Signed-off-by: Zhang Han <zhanghan64@huawei.com> Message-Id: <20201228071129.24563-2-zhanghan64@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
fb246f0590
commit
5086c9973a
@ -31,8 +31,7 @@ struct JSONToken {
|
||||
char str[];
|
||||
};
|
||||
|
||||
typedef struct JSONParserContext
|
||||
{
|
||||
typedef struct JSONParserContext {
|
||||
Error *err;
|
||||
JSONToken *current;
|
||||
GQueue *buf;
|
||||
|
@ -22,8 +22,7 @@
|
||||
#include "qapi/qmp/qnum.h"
|
||||
#include "qapi/qmp/qstring.h"
|
||||
|
||||
typedef struct JSONParsingState
|
||||
{
|
||||
typedef struct JSONParsingState {
|
||||
JSONMessageParser parser;
|
||||
QObject *result;
|
||||
Error *err;
|
||||
|
Loading…
Reference in New Issue
Block a user