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_xshelp.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_xshelp.c')
-rw-r--r-- | tools/libxl/libxl_xshelp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/libxl/libxl_xshelp.c b/tools/libxl/libxl_xshelp.c index b5c6dbfccb..8db2e5bb69 100644 --- a/tools/libxl/libxl_xshelp.c +++ b/tools/libxl/libxl_xshelp.c @@ -44,7 +44,7 @@ int xs_writev(struct xs_handle *xsh, xs_transaction_t t, char *dir, char *kvs[]) return 0; } -char **libxl_xs_kvs_of_flexarray(struct libxl_ctx *ctx, flexarray_t *array, int length) +char **libxl_xs_kvs_of_flexarray(libxl_ctx *ctx, flexarray_t *array, int length) { char **kvs; int i; @@ -65,7 +65,7 @@ char **libxl_xs_kvs_of_flexarray(struct libxl_ctx *ctx, flexarray_t *array, int return kvs; } -int libxl_xs_writev(struct libxl_ctx *ctx, xs_transaction_t t, +int libxl_xs_writev(libxl_ctx *ctx, xs_transaction_t t, char *dir, char *kvs[]) { char *path; @@ -85,7 +85,7 @@ int libxl_xs_writev(struct libxl_ctx *ctx, xs_transaction_t t, return 0; } -int libxl_xs_write(struct libxl_ctx *ctx, xs_transaction_t t, +int libxl_xs_write(libxl_ctx *ctx, xs_transaction_t t, char *path, char *fmt, ...) { char *s; @@ -103,7 +103,7 @@ int libxl_xs_write(struct libxl_ctx *ctx, xs_transaction_t t, return 0; } -char * libxl_xs_read(struct libxl_ctx *ctx, xs_transaction_t t, char *path) +char * libxl_xs_read(libxl_ctx *ctx, xs_transaction_t t, char *path) { unsigned int len; char *ptr; @@ -116,7 +116,7 @@ char * libxl_xs_read(struct libxl_ctx *ctx, xs_transaction_t t, char *path) return 0; } -char *libxl_xs_get_dompath(struct libxl_ctx *ctx, uint32_t domid) +char *libxl_xs_get_dompath(libxl_ctx *ctx, uint32_t domid) { char *s = xs_get_domain_path(ctx->xsh, domid); if (!s) { @@ -128,7 +128,7 @@ char *libxl_xs_get_dompath(struct libxl_ctx *ctx, uint32_t domid) return s; } -char **libxl_xs_directory(struct libxl_ctx *ctx, xs_transaction_t t, char *path, unsigned int *nb) +char **libxl_xs_directory(libxl_ctx *ctx, xs_transaction_t t, char *path, unsigned int *nb) { char **ret = NULL; ret = xs_directory(ctx->xsh, XBT_NULL, path, nb); |