[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: remove _libxl_json_internal.h from libxl_json.h



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1327419046 0
# Node ID cae83bffe6767f95295120c11c5c33f44a6a7ee9
# Parent  2c9b3b9da3b1b57b3cbda0ee238ca460312e2c78
libxl: remove _libxl_json_internal.h from libxl_json.h

libxl_json.h is intended as a user-includable header for applications which
would like to use libyajl directly with libxl types. It should not expose libxl
internals.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 2c9b3b9da3b1 -r cae83bffe676 tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h      Tue Jan 24 15:09:32 2012 +0000
+++ b/tools/libxl/libxl_internal.h      Tue Jan 24 15:30:46 2012 +0000
@@ -61,8 +61,10 @@
 #include "flexarray.h"
 #include "libxl_utils.h"
 
+#include "libxl_json.h"
+
 #include "_libxl_types_internal.h"
-#include "libxl_json.h"
+#include "_libxl_types_internal_json.h"
 
 #define LIBXL_DESTROY_TIMEOUT 10
 #define LIBXL_DEVICE_MODEL_START_TIMEOUT 10
diff -r 2c9b3b9da3b1 -r cae83bffe676 tools/libxl/libxl_json.h
--- a/tools/libxl/libxl_json.h  Tue Jan 24 15:09:32 2012 +0000
+++ b/tools/libxl/libxl_json.h  Tue Jan 24 15:30:46 2012 +0000
@@ -18,6 +18,5 @@
 #include <yajl/yajl_gen.h>
 
 #include <_libxl_types_json.h>
-#include <_libxl_types_internal_json.h>
 
 #endif /* LIBXL_JSON_H */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.