]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commitdiff
nstore: rename public xenstore headers
authorIan Campbell <ian.campbell@citrix.com>
Mon, 14 May 2012 16:15:36 +0000 (17:15 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 14 May 2012 16:15:36 +0000 (17:15 +0100)
The xenstore header xs.h is producing conflicts with other software[1].

xs is a too short identifier and does not matche the library. Renaming
the headers to xenstore.h and xenstore_lib.h is the easiest way to make
them easy recognizable and prevent furthe problems.

[1]: http://bugs.debian.org/668550

[ Also update QEMU_TAG, to bring in corresponding change to
qemu-xen-traditional. -iwj ]

Signed-off-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
--HG--
rename : tools/xenstore/xs.h => tools/xenstore/xenstore.h
rename : tools/xenstore/xs_lib.h => tools/xenstore/xenstore_lib.h

lib/sys.c
lib/xs.c

index 5875797f48690a7d607f29e086ca0a330e76e1ec..a7d35d689ef142d0a01502b5439fb628b5a38b19 100644 (file)
--- a/lib/sys.c
+++ b/lib/sys.c
@@ -28,7 +28,7 @@
 #include <blkfront.h>
 #include <fbfront.h>
 #include <xenbus.h>
-#include <xs.h>
+#include <xenstore.h>
 
 #include <sys/types.h>
 #include <sys/unistd.h>
index 6eced7034770876ec8f1d0a298537af083b4d7e4..a2a122098cce7d42647c328283af021787f83f27 100644 (file)
--- a/lib/xs.c
+++ b/lib/xs.c
@@ -9,7 +9,7 @@
 #ifdef HAVE_LIBC
 #include <os.h>
 #include <lib.h>
-#include <xs.h>
+#include <xenstore.h>
 #include <xenbus.h>
 #include <stdlib.h>
 #include <unistd.h>