summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarkus Armbruster2018-08-23 18:40:20 +0200
committerMarkus Armbruster2018-08-24 20:26:37 +0200
commit86cdf9ec8dec2763702cc52fa412d108a5dc9608 (patch)
tree80f5cade21719e7b4a039138d2d2c2758e288dcb /tests
parentqobject: Drop superfluous includes of qemu-common.h (diff)
downloadqemu-86cdf9ec8dec2763702cc52fa412d108a5dc9608.tar.gz
qemu-86cdf9ec8dec2763702cc52fa412d108a5dc9608.tar.xz
qemu-86cdf9ec8dec2763702cc52fa412d108a5dc9608.zip
json: Clean up headers
The JSON parser has three public headers, json-lexer.h, json-parser.h, json-streamer.h. They all contain stuff that is of no interest outside qobject/json-*.c. Collect the public interface in include/qapi/qmp/json-parser.h, and everything else in qobject/json-parser-int.h. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180823164025.12553-54-armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/libqtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqtest.c b/tests/libqtest.c
index 5973a67652..d635c5bea0 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -24,7 +24,7 @@
#include "qemu-common.h"
#include "qemu/cutils.h"
#include "qapi/error.h"
-#include "qapi/qmp/json-streamer.h"
+#include "qapi/qmp/json-parser.h"
#include "qapi/qmp/qdict.h"
#include "qapi/qmp/qjson.h"
#include "qapi/qmp/qlist.h"