[PATCH 03/10] cleanup: Don't include libvirt/libvirt.h

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

 



Which is already included by "internal.h", later patch will add
syntax-check to avoid it.
---
 src/nodeinfo.h               | 1 -
 src/phyp/phyp_driver.c       | 1 -
 src/remote/remote_protocol.x | 1 -
 src/util/virkeycode.h        | 1 -
 4 files changed, 4 deletions(-)

diff --git a/src/nodeinfo.h b/src/nodeinfo.h
index 350f3c3..b0e5fbc 100644
--- a/src/nodeinfo.h
+++ b/src/nodeinfo.h
@@ -24,7 +24,6 @@
 #ifndef __VIR_NODEINFO_H__
 # define __VIR_NODEINFO_H__
 
-# include "libvirt/libvirt.h"
 # include "capabilities.h"
 
 int nodeGetInfo(virConnectPtr conn, virNodeInfoPtr nodeinfo);
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 3057345..d6d9b0c 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -49,7 +49,6 @@
 #include "viralloc.h"
 #include "virlog.h"
 #include "driver.h"
-#include "libvirt/libvirt.h"
 #include "virerror.h"
 #include "viruuid.h"
 #include "domain_conf.h"
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index b957b8e..d384225 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -36,7 +36,6 @@
  * 'REMOTE_'.  This makes names quite long.
  */
 
-%#include <libvirt/libvirt.h>
 %#include "internal.h"
 %#include <arpa/inet.h>
 
diff --git a/src/util/virkeycode.h b/src/util/virkeycode.h
index a2e1391..6947cfe 100644
--- a/src/util/virkeycode.h
+++ b/src/util/virkeycode.h
@@ -23,7 +23,6 @@
 # define __VIR_UTIL_VIRTKEYCODE_H__
 
 # include "virutil.h"
-# include "libvirt/libvirt.h"
 
 VIR_ENUM_DECL(virKeycodeSet);
 int virKeycodeValueFromString(virKeycodeSet codeset, const char *keyname);
-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]