]> xenbits.xensource.com Git - libvirt.git/commit
xenapi: Fix build after const correctnes changes
authorPeter Krempa <pkrempa@redhat.com>
Tue, 15 Oct 2013 08:32:36 +0000 (10:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Oct 2013 08:36:41 +0000 (10:36 +0200)
commit342cd2dd1a8bdb430f657a9a9806d4d1d7c3cb89
tree5af7ed246548b14771f93b9e474847d3bad5a46d
parente79810162ad44df1d69fd9ba188111c3fc9c8b64
xenapi: Fix build after const correctnes changes

In commit d24677090f1c0596ac1585cc233d6e130b9bb75f the header of one of
the post parse callbacks was changed, but the function used as the
callback in the xenapi driver wasn't adapted. This resulted into:

  CC       xenapi/libvirt_driver_xenapi_la-xenapi_utils.lo
 xenapi/xenapi_driver.c:63:5: error: initialization from incompatible pointer type [-Werror]
 xenapi/xenapi_driver.c:63:5: error: (near initialization for 'xenapiDomainDefParserConfig.devicesPostParseCallback') [-Werror]
src/xenapi/xenapi_driver.c