]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
tools/xcutils: use official headers in readnotes
authorJuergen Gross <jgross@suse.com>
Fri, 28 Aug 2020 15:07:32 +0000 (17:07 +0200)
committerWei Liu <wl@xen.org>
Wed, 9 Sep 2020 10:57:25 +0000 (10:57 +0000)
readnotes.c is including xg_private.h. Now that the xenctrl headers
are structured better this is no longer needed.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
tools/xcutils/Makefile
tools/xcutils/readnotes.c

index 28118939802cfe3814e1ac97a83ae164d54924bb..82d42624c82cd40473f9195b6669c8c0d886de29 100644 (file)
@@ -15,8 +15,7 @@ PROGRAMS = readnotes lsevtchn
 
 CFLAGS += -Werror
 
-# incorrectly uses libxc internals
-CFLAGS_readnotes.o  := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) -I$(XEN_ROOT)/tools/libxc $(CFLAGS_libxencall)
+CFLAGS_readnotes.o  := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest)
 CFLAGS_lsevtchn.o   := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl)
 
 .PHONY: all
index a6b7358e70efb6d2c65b99f8f4d81347b11842d0..ff684c7dcba14cdafe623ed5da876b0a513280b3 100644 (file)
@@ -11,8 +11,9 @@
 #include <sys/stat.h>
 #include <sys/mman.h>
 
-#include <xg_private.h>
-#include <xenctrl_dom.h> /* gunzip bits */
+#include <xen/xen.h>
+#include <xenctrl.h>
+#include <xenguest.h>
 
 #include <xen/libelf/libelf.h>