[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl_json: constify libxl__json_object_to_yajl_gen arguments
commit 043b1bc312a594ae4b3480cb3c5fabd017b89cc3 Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Fri May 25 15:02:34 2018 +0100 Commit: Anthony PERARD <anthony.perard@xxxxxxxxxx> CommitDate: Tue Aug 21 11:57:50 2018 +0100 libxl_json: constify libxl__json_object_to_yajl_gen arguments Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/libxl_internal.h | 2 +- tools/libxl/libxl_json.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index ab1de80522..72ab177ce5 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -2031,7 +2031,7 @@ _hidden const libxl__json_object *libxl__json_map_get(const char *key, libxl__json_node_type expected_type); _hidden yajl_status libxl__json_object_to_yajl_gen(libxl__gc *gc_opt, yajl_gen hand, - libxl__json_object *param); + const libxl__json_object *param); _hidden void libxl__json_object_free(libxl__gc *gc_opt, libxl__json_object *obj); diff --git a/tools/libxl/libxl_json.c b/tools/libxl/libxl_json.c index dc93a88ef1..b7f9077f0d 100644 --- a/tools/libxl/libxl_json.c +++ b/tools/libxl/libxl_json.c @@ -612,7 +612,7 @@ const libxl__json_object *libxl__json_map_get(const char *key, yajl_status libxl__json_object_to_yajl_gen(libxl__gc *gc, yajl_gen hand, - libxl__json_object *obj) + const libxl__json_object *obj) { int idx = 0; yajl_status rc; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |