aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_exec.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-10-27 11:54:16 +0200
committerOlaf Hering <olaf@aepfle.de>2011-10-27 11:54:16 +0200
commita54aa0a41cfaf18b10e6950d46eaf625146b9d63 (patch)
tree59186921be1922d9d35af58a0456873fae2465e6 /tools/libxl/libxl_exec.c
parent89d1429416cc56681be78d57dd371056cb92a035 (diff)
downloadxen-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.c3
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;