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:
Zhang Han 2020-12-28 15:11:26 +08:00 committed by Markus Armbruster
parent fb246f0590
commit 5086c9973a
2 changed files with 2 additions and 4 deletions

View File

@ -31,8 +31,7 @@ struct JSONToken {
char str[];
};
typedef struct JSONParserContext
{
typedef struct JSONParserContext {
Error *err;
JSONToken *current;
GQueue *buf;

View File

@ -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;