8604:a51fcb5de470 introduced a discrepancy between the declaration
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 12 Jan 2006 12:13:34 +0000 (13:13 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 12 Jan 2006 12:13:34 +0000 (13:13 +0100)
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>
tools/libxc/xc_ia64_stubs.c
tools/libxc/xenguest.h

index 2936415be0892702ca8f981b553276527fd1eac9..a10992be8e294f7a081707fec45617f06f562ea5 100644 (file)
@@ -23,7 +23,8 @@ unsigned long xc_ia64_fpsr_default(void)
 }
 
 int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, 
-                  uint32_t max_factor, uint32_t flags, int (*suspend)(void))
+                  uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */,
+                  int (*suspend)(int domid))
 {
     PERROR("xc_linux_save not implemented\n");
     return -1;
index c0eb5bcdd3753fe11d42ad6c2ac4eac18ab0c02f..5cad964f80e9a81783a61fedd6928dac5d60fb09 100644 (file)
@@ -21,9 +21,9 @@
  * @parm dom the id of the domain
  * @return 0 on success, -1 on failure
  */
-int xc_linux_save(int xc_handle, int fd, uint32_t dom, uint32_t max_iters, 
+int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, 
                   uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */,
-                  int (*suspend)(int));
+                  int (*suspend)(int domid));
 
 
 /**