]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virjson: Remove const from virJSONValueObjectForeachKeyValue
authorJiri Denemark <jdenemar@redhat.com>
Wed, 14 Dec 2016 14:25:31 +0000 (15:25 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Dec 2016 15:21:57 +0000 (16:21 +0100)
commitc1cb4cb9f6db916a7928a3dc183bb4c586f584ff
treec3a3c8bc2d9bec6411aa726d2eea2f14487185cd
parent20e64d34990f7a27d72eef51ec8f7b71a21c3c7b
virjson: Remove const from virJSONValueObjectForeachKeyValue

Almost none of our virJSONValue*Get* functions accept const virJSONValue
pointers and it wouldn't even make sense since we sometimes modify what
we get. And because there is no reason for preventing callers of
virJSONValueObjectForeachKeyValue from modifying the values they get in
each iteration we can just stop doing it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/util/virjson.c
src/util/virjson.h
src/util/virqemu.c
src/util/virqemu.h
src/util/virstoragefile.c