|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: drop stray const from function return type
commit 4504b7d1a6594c8ad4b1ecdab15d30feca7eaa51
Author: Jan Beulich <JBeulich@xxxxxxxx>
AuthorDate: Tue May 24 09:28:19 2016 -0600
Commit: Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Tue May 24 16:51:17 2016 +0100
libxl: drop stray const from function return type
Some compiler versions warn about this, causing the build to fail due
to -Werror.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
tools/libxl/libxl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 43a347c..b9d855b 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -5354,8 +5354,8 @@ libxl_numainfo *libxl_get_numainfo(libxl_ctx *ctx, int
*nr)
return 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;
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |