aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/compat
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-05-14 17:15:36 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-05-14 17:15:36 +0100
commitdebddaa56c84f5809774f34fdd190bc5f4a6cf16 (patch)
treeda59df5612d82de5a163d67c7f9e4b3d86d84fe3 /tools/xenstore/compat
parent633979eeb74ecf9200a2f86eff9ed3f09c12bea9 (diff)
downloadxen-debddaa56c84f5809774f34fdd190bc5f4a6cf16.tar.gz
xen-debddaa56c84f5809774f34fdd190bc5f4a6cf16.tar.bz2
xen-debddaa56c84f5809774f34fdd190bc5f4a6cf16.zip
nstore: rename public xenstore headers
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
Diffstat (limited to 'tools/xenstore/compat')
-rw-r--r--tools/xenstore/compat/xs.h2
-rw-r--r--tools/xenstore/compat/xs_lib.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/xenstore/compat/xs.h b/tools/xenstore/compat/xs.h
new file mode 100644
index 0000000000..99cf39bb1a
--- /dev/null
+++ b/tools/xenstore/compat/xs.h
@@ -0,0 +1,2 @@
+#warning xs.h is deprecated use xenstore.h instead
+#include <xenstore.h>
diff --git a/tools/xenstore/compat/xs_lib.h b/tools/xenstore/compat/xs_lib.h
new file mode 100644
index 0000000000..ad81b54c0e
--- /dev/null
+++ b/tools/xenstore/compat/xs_lib.h
@@ -0,0 +1,2 @@
+#warning xs_lib.h is deprecated use xenstore_lib.h instead
+#include <xenstore_lib.h>