ia64/xen-unstable

changeset 14689:2e5b6c02566f

libxc: Fix the build with some versions of gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Sat Mar 31 16:52:36 2007 +0100 (2007-03-31)
parents f4c721dae13a
children b0a6220047e3
files tools/libxc/xc_linux.c tools/libxc/xenctrl.h
line diff
     1.1 --- a/tools/libxc/xc_linux.c	Sat Mar 31 16:39:14 2007 +0100
     1.2 +++ b/tools/libxc/xc_linux.c	Sat Mar 31 16:52:36 2007 +0100
     1.3 @@ -435,8 +435,8 @@ void *xc_gnttab_map_grant_ref(int xcg_ha
     1.4  
     1.5  void *xc_gnttab_map_grant_refs(int xcg_handle,
     1.6                                 uint32_t count,
     1.7 -                               uint32_t domids[count],
     1.8 -                               uint32_t refs[count],
     1.9 +                               uint32_t *domids,
    1.10 +                               uint32_t *refs,
    1.11                                 int prot)
    1.12  {
    1.13      struct ioctl_gntdev_map_grant_ref *map;
     2.1 --- a/tools/libxc/xenctrl.h	Sat Mar 31 16:39:14 2007 +0100
     2.2 +++ b/tools/libxc/xenctrl.h	Sat Mar 31 16:52:36 2007 +0100
     2.3 @@ -786,8 +786,8 @@ void *xc_gnttab_map_grant_ref(int xcg_ha
     2.4   */
     2.5  void *xc_gnttab_map_grant_refs(int xcg_handle,
     2.6                                 uint32_t count,
     2.7 -                               uint32_t domids[count],
     2.8 -                               uint32_t refs[count],
     2.9 +                               uint32_t *domids,
    2.10 +                               uint32_t *refs,
    2.11                                 int prot);
    2.12  
    2.13  /*