libxl: drop stray const from function return type
PATCH 1/1 libxl: drop stray const from function return type
Some compiler versions warn about this, causing the build to fail due to -Werror.
tools/libxl/libxl.c +2 -2
@@ -5354,8 +5354,8 @@ libxl_numainfo *libxl_get_numainfo(libxlreturn ret; } -static const int libxl__xc_version_wrap (libxl__gc *gc,libxl_version_info *info, -xen_build_id_t *build) +static int libxl__xc_version_wrap (libxl__gc *gc,libxl_version_info *info, +xen_build_id_t *build) {int r;
libxl: drop stray const from function return type
Some compiler versions warn about this, causing the build to fail due to -Werror.
tools/libxl/libxl.c +2 -2
@@ -5354,8 +5354,8 @@ libxl_numainfo *libxl_get_numainfo(libxlreturn ret; } -static const int libxl__xc_version_wrap (libxl__gc *gc,libxl_version_info *info, -xen_build_id_t *build) +static int libxl__xc_version_wrap (libxl__gc *gc,libxl_version_info *info, +xen_build_id_t *build) {int r;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Jan Beulich writes ("[PATCH] libxl: drop stray const from function return type"):
Quoted 4 lines
Some compiler versions warn about this, causing the build to fail due to -Werror.
Signed-off-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 7 lines · Ian Jackson
Jan Beulich writes ("[PATCH] libxl: drop stray const from function return type"):
Quoted 4 lines
Some compiler versions warn about this, causing the build to fail due to -Werror.
Signed-off-by Jan Beulich <[email protected]>Acked-by Ian Jackson <[email protected]>
Queued.
Thank you both.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel