aboutsummaryrefslogtreecommitdiff
path: root/qobject/qjson.c
diff options
context:
space:
mode:
authorZhang Han <zhanghan64@huawei.com>2020-12-28 15:11:26 +0800
committerMarkus Armbruster <armbru@redhat.com>2021-02-04 13:20:28 +0100
commit5086c9973a1303cce4791f3c244256e579191410 (patch)
treefb30cfb551fdcf778f0ac7692a14306bea96a65b /qobject/qjson.c
parentfb246f05909c57341aec9a3ba42f1908b9cbfde6 (diff)
downloadqemu-5086c9973a1303cce4791f3c244256e579191410.zip
qemu-5086c9973a1303cce4791f3c244256e579191410.tar.gz
qemu-5086c9973a1303cce4791f3c244256e579191410.tar.bz2
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>
Diffstat (limited to 'qobject/qjson.c')
-rw-r--r--qobject/qjson.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qobject/qjson.c b/qobject/qjson.c
index bcc376e..167fcb4 100644
--- a/qobject/qjson.c
+++ b/qobject/qjson.c
@@ -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;