ia64/xen-unstable

changeset 8576:642b26779c4e

8604:a51fcb5de470 introduced a discrepancy between the declaration
and definition of xc_linux_save(). In particular the argument for
the suspend pointer to function was null in one and int in the other.
On inspection, int seemed to be correct, so I went with this.
I also fixed up a few other cosmetic discrepancies.

Signed-Off-By: Horms <horms@verge.net.au>
author emellor@leeni.uk.xensource.com
date Thu Jan 12 13:13:34 2006 +0100 (2006-01-12)
parents 5ab7cf758e2f
children 4b8919585039
files tools/libxc/xc_ia64_stubs.c tools/libxc/xenguest.h
line diff
     1.1 --- a/tools/libxc/xc_ia64_stubs.c	Wed Jan 11 16:23:16 2006 +0000
     1.2 +++ b/tools/libxc/xc_ia64_stubs.c	Thu Jan 12 13:13:34 2006 +0100
     1.3 @@ -23,7 +23,8 @@ unsigned long xc_ia64_fpsr_default(void)
     1.4  }
     1.5  
     1.6  int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, 
     1.7 -                  uint32_t max_factor, uint32_t flags, int (*suspend)(void))
     1.8 +                  uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */,
     1.9 +                  int (*suspend)(int domid))
    1.10  {
    1.11      PERROR("xc_linux_save not implemented\n");
    1.12      return -1;
     2.1 --- a/tools/libxc/xenguest.h	Wed Jan 11 16:23:16 2006 +0000
     2.2 +++ b/tools/libxc/xenguest.h	Thu Jan 12 13:13:34 2006 +0100
     2.3 @@ -21,9 +21,9 @@
     2.4   * @parm dom the id of the domain
     2.5   * @return 0 on success, -1 on failure
     2.6   */
     2.7 -int xc_linux_save(int xc_handle, int fd, uint32_t dom, uint32_t max_iters, 
     2.8 +int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, 
     2.9                    uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */,
    2.10 -                  int (*suspend)(int));
    2.11 +                  int (*suspend)(int domid));
    2.12  
    2.13  
    2.14  /**