Skip to content

Commit

Permalink
qobject: open brace '{' following struct go on the same line
Browse files Browse the repository at this point in the history
Put open brace '{' on the same line of struct.

Signed-off-by: Zhang Han <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
Zhang Han authored and Markus Armbruster committed Feb 4, 2021
1 parent fb246f0 commit 5086c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions qobject/json-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ struct JSONToken {
char str[];
};

typedef struct JSONParserContext
{
typedef struct JSONParserContext {
Error *err;
JSONToken *current;
GQueue *buf;
Expand Down
3 changes: 1 addition & 2 deletions qobject/qjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5086c99

Please sign in to comment.