aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-03-31 16:52:36 +0100
committerKeir Fraser <keir@xensource.com>2007-03-31 16:52:36 +0100
commit3e2ea003c4d7b89426f8b06dfde8ac1d9f82fd43 (patch)
tree530ea51f8d4fabd83f379626bce6a834d2bab902 /tools
parentc15c303a405f2e2453ecdf81908f962a7769d924 (diff)
downloadxen-3e2ea003c4d7b89426f8b06dfde8ac1d9f82fd43.tar.gz
xen-3e2ea003c4d7b89426f8b06dfde8ac1d9f82fd43.tar.bz2
xen-3e2ea003c4d7b89426f8b06dfde8ac1d9f82fd43.zip
libxc: Fix the build with some versions of gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/libxc/xc_linux.c4
-rw-r--r--tools/libxc/xenctrl.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/libxc/xc_linux.c b/tools/libxc/xc_linux.c
index cab3c6588f..12adfc92a5 100644
--- a/tools/libxc/xc_linux.c
+++ b/tools/libxc/xc_linux.c
@@ -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;
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h
index f838b70966..22894d1006 100644
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -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);
/*