[Libguestfs] [PATCH 6/6] p2v: stop including guestfs.h

Pino Toscano ptoscano at redhat.com
Wed Jul 3 10:47:09 UTC 2019


It is no more needed, guestfs-utils.h is enough these days.
---
 p2v/p2v.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/p2v/p2v.h b/p2v/p2v.h
index 2447cf05e..66c245eda 100644
--- a/p2v/p2v.h
+++ b/p2v/p2v.h
@@ -30,17 +30,8 @@
 #include "miniexpect.h"
 #include "p2v-config.h"
 
-/* We don't use libguestfs directly here, and we don't link to it
- * either (in fact, we don't want libguestfs on the ISO).  However
- * we include this just so that we can use the convenience macros in
- * utils.h.
- */
-#include "guestfs.h"
 #include "guestfs-utils.h"
 
-/* Ensure we don't use libguestfs. */
-#define guestfs_h DO_NOT_USE
-
 /* All disks / removable media / network interfaces discovered
  * when the program started.  Do not change these.
  */
-- 
2.21.0




More information about the Libguestfs mailing list