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

[Xen-changelog] [xen-unstable] libxc: remove dependency on xenstore headers.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300729181 0
# Node ID b2f9419b1754f44c9c629cc3c4ec4872ea22527d
# Parent  c81f0ef5a77d90fbf108d3efe489d08df45b63c2
libxc: remove dependency on xenstore headers.

xc_offline_page doesn't really need xs.h.

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


diff -r c81f0ef5a77d -r b2f9419b1754 tools/libxc/Makefile
--- a/tools/libxc/Makefile      Mon Mar 21 14:52:27 2011 +0000
+++ b/tools/libxc/Makefile      Mon Mar 21 17:39:41 2011 +0000
@@ -68,7 +68,7 @@
 -include $(XEN_TARGET_ARCH)/Makefile
 
 CFLAGS   += -Werror -Wmissing-prototypes
-CFLAGS   += $(INCLUDES) -I. -I../xenstore -I../include
+CFLAGS   += $(INCLUDES) -I. -I../include
 
 # Needed for posix_fadvise64() in xc_linux.c
 CFLAGS-$(CONFIG_Linux) += -D_GNU_SOURCE
diff -r c81f0ef5a77d -r b2f9419b1754 tools/libxc/xc_offline_page.c
--- a/tools/libxc/xc_offline_page.c     Mon Mar 21 14:52:27 2011 +0000
+++ b/tools/libxc/xc_offline_page.c     Mon Mar 21 17:39:41 2011 +0000
@@ -26,7 +26,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/time.h>
-#include <xs.h>
 #include <xc_core.h>
 
 #include "xc_private.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®.