mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
libxc: Fix the build with some versions of gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
c15c303a40
commit
3e2ea003c4
2 files changed
+4
-4
No files matched your search
@@ -435,8 +435,8 @@ void *xc_gnttab_map_grant_ref(int xcg_handle,
|
||||
|
||||
void *xc_gnttab_map_grant_refs(int xcg_handle,
|
||||
uint32_t count,
|
||||
uint32_t domids[count],
|
||||
uint32_t refs[count],
|
||||
uint32_t *domids,
|
||||
uint32_t *refs,
|
||||
int prot)
|
||||
{
|
||||
struct ioctl_gntdev_map_grant_ref *map;
|
||||
|
||||
@@ -786,8 +786,8 @@ void *xc_gnttab_map_grant_ref(int xcg_handle,
|
||||
*/
|
||||
void *xc_gnttab_map_grant_refs(int xcg_handle,
|
||||
uint32_t count,
|
||||
uint32_t domids[count],
|
||||
uint32_t refs[count],
|
||||
uint32_t *domids,
|
||||
uint32_t *refs,
|
||||
int prot);
|
||||
|
||||
/*
|
||||
|
||||