diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-09-08 16:48:48 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-09-08 16:48:48 +0100 |
commit | 461d1b3b6eee1530b9afb0a618753c1cdd0ee4f2 (patch) | |
tree | 520d1b2c903254c6cda2743a5525f305ce893bf2 /tools/libxl/libxl_bootloader.c | |
parent | c9e3dd5b2afb9d3ae984f3444e4cf21440215f3e (diff) | |
download | xen-461d1b3b6eee1530b9afb0a618753c1cdd0ee4f2.tar.gz xen-461d1b3b6eee1530b9afb0a618753c1cdd0ee4f2.tar.bz2 xen-461d1b3b6eee1530b9afb0a618753c1cdd0ee4f2.zip |
libxl: Use libxl__ namespace for internal types
It's not clear that the namespace rules described in libxl.h are
intended to apply to internal types but I don't see why not.
sed -i -e 's/\<libxl_device\>/libxl__device/g' tools/libxl/*.[ch]
sed -i -e 's/\<libxl_device_kinds\>/libxl__device_kinds/g' tools/libxl/*.[ch]
sed -i -e 's/\<libxl_gc\>/libxl__gc/g' tools/libxl/*.[ch]
sed -i -e 's/\<libxl_gc_owner\>/libxl__gc_owner/g' tools/libxl/*.[ch]
sed -i -e 's/\<libxl_spawn_starting\>/libxl__spawn_starting/g' tools/libxl/*.[ch]
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_bootloader.c')
-rw-r--r-- | tools/libxl/libxl_bootloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxl/libxl_bootloader.c b/tools/libxl/libxl_bootloader.c index e842f4d574..0f884e4668 100644 --- a/tools/libxl/libxl_bootloader.c +++ b/tools/libxl/libxl_bootloader.c @@ -30,7 +30,7 @@ #define XENCONSOLED_BUF_SIZE 16 #define BOOTLOADER_BUF_SIZE 1024 -static char **make_bootloader_args(libxl_gc *gc, +static char **make_bootloader_args(libxl__gc *gc, libxl_domain_build_info *info, uint32_t domid, const char *fifo, char *disk) @@ -161,7 +161,7 @@ static pid_t fork_exec_bootloader(int *master, char *arg0, char **args) * if there is actual data to write, otherwise this would loop too fast, * eating up CPU time. */ -static char * bootloader_interact(libxl_gc *gc, int xenconsoled_fd, int bootloader_fd, int fifo_fd) +static char * bootloader_interact(libxl__gc *gc, int xenconsoled_fd, int bootloader_fd, int fifo_fd) { int ret; @@ -300,7 +300,7 @@ int libxl_run_bootloader(libxl_ctx *ctx, libxl_device_disk *disk, uint32_t domid) { - libxl_gc gc = LIBXL_INIT_GC(ctx); + libxl__gc gc = LIBXL_INIT_GC(ctx); int ret, rc = 0; char *fifo = NULL; char *diskpath = NULL; |