diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-07-28 16:18:44 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-07-28 16:18:44 +0100 |
commit | 528ad3b6e29be4807f4a1698f35bf46be8e525e5 (patch) | |
tree | 5cc8da4273e1f33ef8444870c36e127990a02acc /tools/libxl/libxl_bootloader.c | |
parent | 891c9ebad752ce367c9e639b8edb48aaba462338 (diff) | |
download | xen-528ad3b6e29be4807f4a1698f35bf46be8e525e5.tar.gz xen-528ad3b6e29be4807f4a1698f35bf46be8e525e5.tar.bz2 xen-528ad3b6e29be4807f4a1698f35bf46be8e525e5.zip |
libxl: consistently use typedef struct {} libxl_$type
typedef struct seems to be the dominant idiom in the mixture currently
in use.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_bootloader.c')
-rw-r--r-- | tools/libxl/libxl_bootloader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/libxl/libxl_bootloader.c b/tools/libxl/libxl_bootloader.c index e7cf624244..28a92f83b2 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(struct libxl_ctx *ctx, +static char **make_bootloader_args(libxl_ctx *ctx, libxl_domain_build_info *info, uint32_t domid, const char *fifo, const 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(struct libxl_ctx *ctx, int xenconsoled_fd, int bootloader_fd, int fifo_fd) +static char * bootloader_interact(libxl_ctx *ctx, int xenconsoled_fd, int bootloader_fd, int fifo_fd) { int ret; @@ -271,7 +271,7 @@ out_err: return NULL; } -static void parse_bootloader_result(struct libxl_ctx *ctx, +static void parse_bootloader_result(libxl_ctx *ctx, libxl_domain_build_info *info, const char *o) { @@ -295,7 +295,7 @@ static void parse_bootloader_result(struct libxl_ctx *ctx, } } -int libxl_run_bootloader(struct libxl_ctx *ctx, +int libxl_run_bootloader(libxl_ctx *ctx, libxl_domain_build_info *info, libxl_device_disk *disk, uint32_t domid) |