diff options
author | Veronia Bahaa <veroniabahaa@gmail.com> | 2016-03-20 19:16:19 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:55:13 -0600 |
commit | 2c594eb97b17410fd65f3fed4af7355389ccb5b0 (patch) | |
tree | 9131d5e751c88007773d32b32a38ab835a7bb08c /qobject | |
parent | 89492b974896cf041e346da9ca03cfb5b94423e0 (diff) | |
download | hqemu-2c594eb97b17410fd65f3fed4af7355389ccb5b0.zip hqemu-2c594eb97b17410fd65f3fed4af7355389ccb5b0.tar.gz |
util: move declarations out of qemu-common.h
Move declarations out of qemu-common.h for functions declared in
utils/ files: e.g. include/qemu/path.h for utils/path.c.
Move inline functions out of qemu-common.h and into new files (e.g.
include/qemu/bcd.h)
Signed-off-by: Veronia Bahaa <veroniabahaa@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qobject')
-rw-r--r-- | qobject/json-parser.c | 1 | ||||
-rw-r--r-- | qobject/qdict.c | 1 | ||||
-rw-r--r-- | qobject/qjson.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/qobject/json-parser.c b/qobject/json-parser.c index 6e65b82..67ed727 100644 --- a/qobject/json-parser.c +++ b/qobject/json-parser.c @@ -12,7 +12,6 @@ */ #include "qemu/osdep.h" - #include "qapi/error.h" #include "qemu-common.h" #include "qapi/qmp/qstring.h" diff --git a/qobject/qdict.c b/qobject/qdict.c index 9833bd0..a128536 100644 --- a/qobject/qdict.c +++ b/qobject/qdict.c @@ -19,6 +19,7 @@ #include "qapi/qmp/qobject.h" #include "qemu/queue.h" #include "qemu-common.h" +#include "qemu/cutils.h" /** * qdict_new(): Create a new QDict diff --git a/qobject/qjson.c b/qobject/qjson.c index 06dc210..ef160d2 100644 --- a/qobject/qjson.c +++ b/qobject/qjson.c @@ -21,6 +21,7 @@ #include "qapi/qmp/qbool.h" #include "qapi/qmp/qfloat.h" #include "qapi/qmp/qdict.h" +#include "qemu/unicode.h" typedef struct JSONParsingState { |