diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-10-27 11:54:16 +0200 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-10-27 11:54:16 +0200 |
commit | a54aa0a41cfaf18b10e6950d46eaf625146b9d63 (patch) | |
tree | 59186921be1922d9d35af58a0456873fae2465e6 /tools/libxl/libxl_exec.c | |
parent | 89d1429416cc56681be78d57dd371056cb92a035 (diff) | |
download | xen-a54aa0a41cfaf18b10e6950d46eaf625146b9d63.tar.gz xen-a54aa0a41cfaf18b10e6950d46eaf625146b9d63.tar.bz2 xen-a54aa0a41cfaf18b10e6950d46eaf625146b9d63.zip |
libxl: update prototype of libxl__spawn_check
libxl__spawn_check expects a malloc'd libxl__spawn_starting. The
currently only user of libxl__spawn_check gets a libxl__spawn_starting
and passes it on. Update prototype to not take a void pointer, and also
update comment in header file.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_exec.c')
-rw-r--r-- | tools/libxl/libxl_exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 95151c07b1..1a62d475b4 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -431,10 +431,9 @@ int libxl__spawn_detach(libxl__gc *gc, return rc; } -int libxl__spawn_check(libxl__gc *gc, void *for_spawn_void) +int libxl__spawn_check(libxl__gc *gc, libxl__spawn_starting *for_spawn) { libxl_ctx *ctx = libxl__gc_owner(gc); - libxl__spawn_starting *for_spawn = for_spawn_void; pid_t got; int status; |