It's just read.
---
src/util/virjson.c | 2 +-
src/util/virjson.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/virjson.c b/src/util/virjson.c
index afc98e3..b6d9a34 100644
--- a/src/util/virjson.c
+++ b/src/util/virjson.c
@@ -1241,7 +1241,7 @@ virJSONValueObjectForeachKeyValue(const virJSONValue *object,
virJSONValuePtr
-virJSONValueCopy(virJSONValuePtr in)
+virJSONValueCopy(const virJSONValue *in)
{
size_t i;
virJSONValuePtr out = NULL;
diff --git a/src/util/virjson.h b/src/util/virjson.h
index a5aef39..64cae88 100644
--- a/src/util/virjson.h
+++ b/src/util/virjson.h
@@ -171,6 +171,6 @@ int virJSONValueObjectForeachKeyValue(const virJSONValue *object,
virJSONValueObjectIteratorFunc cb,
void *opaque);
-virJSONValuePtr virJSONValueCopy(virJSONValuePtr in);
+virJSONValuePtr virJSONValueCopy(const virJSONValue *in);
#endif /* __VIR_JSON_H_ */
--
2.9.0