aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp/qjson.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/qmp/qjson.h')
-rw-r--r--include/qapi/qmp/qjson.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/qjson.h b/include/qapi/qmp/qjson.h
index 6fe42d0f13..6e84082d5f 100644
--- a/include/qapi/qmp/qjson.h
+++ b/include/qapi/qmp/qjson.h
@@ -17,7 +17,7 @@
#include "qapi/qmp/qobject.h"
#include "qapi/qmp/qstring.h"
-QObject *qobject_from_json(const char *string);
+QObject *qobject_from_json(const char *string, Error **errp);
QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2);
QObject *qobject_from_jsonv(const char *string, va_list *ap, Error **errp)
GCC_FMT_ATTR(1, 0);