From 8618d4e458b1202af92ba9aad026cb201f0d58bd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 12 Dec 2011 17:48:40 +0000 Subject: libxl: Rationalise #includes libxl_internal.h now #includes libxl.h and various system headers. This 1. makes the order of header inclusion more predictable 2. explicitly allows libxl_internal.h to use objects defined in libxl.h 3. removes the need for individual files to include these headers Also - remove some unnecessary #includes of libxl_utils.h, flexarray.h, etc. in some libxl*.c files, - include libxl_osdeps.h at the top of libxl_internal.h - add missing includes of libxl_osdeps.h to a couple of files - change libxl.h to libxl_internal.h in a couple of files Signed-off-by: Ian Jackson Acked-by: Ian Campbell Committed-by: Ian Jackson --- tools/libxl/libxl_device.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tools/libxl/libxl_device.c') diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c index 1db395c116..5969ae32ce 100644 --- a/tools/libxl/libxl_device.c +++ b/tools/libxl/libxl_device.c @@ -24,7 +24,6 @@ #include #include -#include "libxl.h" #include "libxl_internal.h" char *libxl__device_frontend_path(libxl__gc *gc, libxl__device *device) -- cgit v1.2.3