From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> The #include <string.h> and #include <libxml/tree.h> is not required in the vast majority of files --- libvirt-gconfig/libvirt-gconfig-capabilities.c | 2 -- libvirt-gconfig/libvirt-gconfig-domain-clock.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-device.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-disk.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-filesys.c | 2 -- .../libvirt-gconfig-domain-graphics-sdl.c | 4 ---- .../libvirt-gconfig-domain-graphics-spice.c | 4 ---- .../libvirt-gconfig-domain-graphics-vnc.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-graphics.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-input.c | 4 ---- .../libvirt-gconfig-domain-interface-network.c | 2 -- libvirt-gconfig/libvirt-gconfig-domain-interface.c | 2 -- libvirt-gconfig/libvirt-gconfig-domain-os.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-seclabel.c | 2 -- libvirt-gconfig/libvirt-gconfig-domain-snapshot.c | 2 -- libvirt-gconfig/libvirt-gconfig-domain-timer.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain-video.c | 4 ---- libvirt-gconfig/libvirt-gconfig-domain.c | 2 -- libvirt-gconfig/libvirt-gconfig-interface.c | 2 -- libvirt-gconfig/libvirt-gconfig-network-filter.c | 2 -- libvirt-gconfig/libvirt-gconfig-network.c | 2 -- libvirt-gconfig/libvirt-gconfig-node-device.c | 2 -- libvirt-gconfig/libvirt-gconfig-secret.c | 2 -- libvirt-gconfig/libvirt-gconfig-storage-pool.c | 2 -- libvirt-gconfig/libvirt-gconfig-storage-vol.c | 2 -- libvirt-gconfig/libvirt-gconfig-xml-doc.c | 2 -- 26 files changed, 0 insertions(+), 74 deletions(-) diff --git a/libvirt-gconfig/libvirt-gconfig-capabilities.c b/libvirt-gconfig/libvirt-gconfig-capabilities.c index b517944..5d6e311 100644 --- a/libvirt-gconfig/libvirt-gconfig-capabilities.c +++ b/libvirt-gconfig/libvirt-gconfig-capabilities.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_CAPABILITIES_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-clock.c b/libvirt-gconfig/libvirt-gconfig-domain-clock.c index 9f72c7b..3516ddf 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-clock.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-clock.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-device.c b/libvirt-gconfig/libvirt-gconfig-domain-device.c index 1c4e465..278ba38 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-device.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-device.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_DOMAIN_DEVICE_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-disk.c b/libvirt-gconfig/libvirt-gconfig-domain-disk.c index d22e223..0519131 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-disk.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-disk.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-filesys.c b/libvirt-gconfig/libvirt-gconfig-domain-filesys.c index 32a1636..71ee852 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-filesys.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-filesys.c @@ -22,8 +22,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c index 728c320..ef3398f 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c b/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c index e570586..cd66113 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c b/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c index cda5500..be8aecb 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-graphics.c b/libvirt-gconfig/libvirt-gconfig-domain-graphics.c index 833f693..b99e992 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-graphics.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-graphics.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_DOMAIN_GRAPHICS_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-input.c b/libvirt-gconfig/libvirt-gconfig-domain-input.c index db4d274..f114b86 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-input.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-input.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-interface-network.c b/libvirt-gconfig/libvirt-gconfig-domain-interface-network.c index 071aaaa..9a68097 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-interface-network.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-interface-network.c @@ -24,8 +24,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-interface.c b/libvirt-gconfig/libvirt-gconfig-domain-interface.c index c825fee..924379f 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-interface.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-interface.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_DOMAIN_INTERFACE_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-os.c b/libvirt-gconfig/libvirt-gconfig-domain-os.c index f114494..9040ca2 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-os.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-os.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-seclabel.c b/libvirt-gconfig/libvirt-gconfig-domain-seclabel.c index 22508e9..9dbae0b 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-seclabel.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-seclabel.c @@ -22,8 +22,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain-snapshot.c b/libvirt-gconfig/libvirt-gconfig-domain-snapshot.c index 421269d..a067ff8 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-snapshot.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-snapshot.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_DOMAIN_SNAPSHOT_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-timer.c b/libvirt-gconfig/libvirt-gconfig-domain-timer.c index c1610fa..6917a7e 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-timer.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-timer.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_DOMAIN_TIMER_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-domain-video.c b/libvirt-gconfig/libvirt-gconfig-domain-video.c index 40f9368..54436ee 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain-video.c +++ b/libvirt-gconfig/libvirt-gconfig-domain-video.c @@ -22,10 +22,6 @@ #include <config.h> -#include <string.h> - -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-domain.c b/libvirt-gconfig/libvirt-gconfig-domain.c index 062be3b..d922ff8 100644 --- a/libvirt-gconfig/libvirt-gconfig-domain.c +++ b/libvirt-gconfig/libvirt-gconfig-domain.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-helpers-private.h" #include "libvirt-gconfig/libvirt-gconfig-object-private.h" diff --git a/libvirt-gconfig/libvirt-gconfig-interface.c b/libvirt-gconfig/libvirt-gconfig-interface.c index 6152c35..cc57e37 100644 --- a/libvirt-gconfig/libvirt-gconfig-interface.c +++ b/libvirt-gconfig/libvirt-gconfig-interface.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_INTERFACE_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-network-filter.c b/libvirt-gconfig/libvirt-gconfig-network-filter.c index 47469ed..c18347c 100644 --- a/libvirt-gconfig/libvirt-gconfig-network-filter.c +++ b/libvirt-gconfig/libvirt-gconfig-network-filter.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_NETWORK_FILTER_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-network.c b/libvirt-gconfig/libvirt-gconfig-network.c index 9fe4181..e947ab1 100644 --- a/libvirt-gconfig/libvirt-gconfig-network.c +++ b/libvirt-gconfig/libvirt-gconfig-network.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_NETWORK_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-node-device.c b/libvirt-gconfig/libvirt-gconfig-node-device.c index f89aeb1..df992c1 100644 --- a/libvirt-gconfig/libvirt-gconfig-node-device.c +++ b/libvirt-gconfig/libvirt-gconfig-node-device.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_NODE_DEVICE_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-secret.c b/libvirt-gconfig/libvirt-gconfig-secret.c index 6f57aaa..15aca6b 100644 --- a/libvirt-gconfig/libvirt-gconfig-secret.c +++ b/libvirt-gconfig/libvirt-gconfig-secret.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_SECRET_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-storage-pool.c b/libvirt-gconfig/libvirt-gconfig-storage-pool.c index c95cf59..3c7e141 100644 --- a/libvirt-gconfig/libvirt-gconfig-storage-pool.c +++ b/libvirt-gconfig/libvirt-gconfig-storage-pool.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_STORAGE_POOL_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-storage-vol.c b/libvirt-gconfig/libvirt-gconfig-storage-vol.c index 5a31c80..64cdc7a 100644 --- a/libvirt-gconfig/libvirt-gconfig-storage-vol.c +++ b/libvirt-gconfig/libvirt-gconfig-storage-vol.c @@ -23,8 +23,6 @@ #include <config.h> -#include <string.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #define GVIR_CONFIG_STORAGE_VOL_GET_PRIVATE(obj) \ diff --git a/libvirt-gconfig/libvirt-gconfig-xml-doc.c b/libvirt-gconfig/libvirt-gconfig-xml-doc.c index 292f28d..f513784 100644 --- a/libvirt-gconfig/libvirt-gconfig-xml-doc.c +++ b/libvirt-gconfig/libvirt-gconfig-xml-doc.c @@ -24,8 +24,6 @@ #include <string.h> -#include <libxml/tree.h> - #include "libvirt-gconfig/libvirt-gconfig.h" #include "libvirt-gconfig/libvirt-gconfig-xml-doc.h" -- 1.7.6.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list