diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-09 14:35:36 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-09 14:35:36 +0100 |
commit | d2017c7b163713702dbae2510c7a1a9cfb76592d (patch) | |
tree | 07e1864bb5e969b9e6aef7175579f1b1247c4144 /tools/libxc/xenguest.h | |
parent | 2be317cd91bafc830a5ac8c74410331b9a2c7825 (diff) | |
download | xen-d2017c7b163713702dbae2510c7a1a9cfb76592d.tar.gz xen-d2017c7b163713702dbae2510c7a1a9cfb76592d.tar.bz2 xen-d2017c7b163713702dbae2510c7a1a9cfb76592d.zip |
Clean up internal libxc functions to take 'const char *'
parameters where possible, to avoid unnecessary casts.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index 2352ec3308..23f5451d79 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -90,9 +90,9 @@ int xc_linux_build(int xc_handle, */ int xc_linux_build_mem(int xc_handle, uint32_t domid, - char *image_buffer, + const char *image_buffer, unsigned long image_size, - char *initrd_buffer, + const char *initrd_buffer, unsigned long initrd_size, const char *cmdline, const char *features, @@ -116,7 +116,7 @@ int xc_hvm_build(int xc_handle, int xc_hvm_build_mem(int xc_handle, uint32_t domid, int memsize, - char *image_buffer, + const char *image_buffer, unsigned long image_size, unsigned int vcpus, unsigned int pae, |