[PATCH 24/29] vbox: Remove unused includes

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

 



From: Adam Tao <tcx4c70@xxxxxxxxx>

Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 src/vbox/vbox_XPCOMCGlue.c    | 3 ---
 src/vbox/vbox_common.h        | 1 -
 src/vbox/vbox_driver.c        | 2 --
 src/vbox/vbox_driver.h        | 2 --
 src/vbox/vbox_get_driver.h    | 2 --
 src/vbox/vbox_network.c       | 2 --
 src/vbox/vbox_storage.c       | 3 ---
 src/vbox/vbox_tmpl.c          | 1 -
 src/vbox/vbox_uniformed_api.h | 2 --
 9 files changed, 18 deletions(-)

diff --git a/src/vbox/vbox_XPCOMCGlue.c b/src/vbox/vbox_XPCOMCGlue.c
index d7b4ae9aad..77a3041612 100644
--- a/src/vbox/vbox_XPCOMCGlue.c
+++ b/src/vbox/vbox_XPCOMCGlue.c
@@ -34,11 +34,8 @@
 #include "vbox_XPCOMCGlue.h"
 #include "internal.h"
 #include "viralloc.h"
-#include "virutil.h"
 #include "virlog.h"
-#include "virerror.h"
 #include "virfile.h"
-#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_VBOX
 
diff --git a/src/vbox/vbox_common.h b/src/vbox/vbox_common.h
index 1fb922aaf0..ce66c7aa7b 100644
--- a/src/vbox/vbox_common.h
+++ b/src/vbox/vbox_common.h
@@ -23,7 +23,6 @@
 # error this file should not be included after vbox_CAPI_v*.h
 #endif
 
-#include "internal.h"
 #include <stddef.h>
 #include "wchar.h"
 
diff --git a/src/vbox/vbox_driver.c b/src/vbox/vbox_driver.c
index 740af56a13..c64b1b3e43 100644
--- a/src/vbox/vbox_driver.c
+++ b/src/vbox/vbox_driver.c
@@ -38,8 +38,6 @@
 #include "vbox_driver.h"
 #include "vbox_XPCOMCGlue.h"
 #include "virerror.h"
-#include "domain_event.h"
-#include "domain_conf.h"
 
 #include "vbox_get_driver.h"
 
diff --git a/src/vbox/vbox_driver.h b/src/vbox/vbox_driver.h
index bcbdf12bc9..bd53e8ee10 100644
--- a/src/vbox/vbox_driver.h
+++ b/src/vbox/vbox_driver.h
@@ -24,8 +24,6 @@
 
 #pragma once
 
-#include "internal.h"
-
 #if defined(VBOX_NETWORK_DRIVER)
 int vboxNetworkRegister(void);
 #endif
diff --git a/src/vbox/vbox_get_driver.h b/src/vbox/vbox_get_driver.h
index 84b5d03bd9..edfae770dc 100644
--- a/src/vbox/vbox_get_driver.h
+++ b/src/vbox/vbox_get_driver.h
@@ -18,8 +18,6 @@
 
 #pragma once
 
-#include "internal.h"
-
 virHypervisorDriver *vboxGetHypervisorDriver(uint32_t uVersion);
 virNetworkDriver *vboxGetNetworkDriver(uint32_t uVersion);
 virStorageDriver *vboxGetStorageDriver(uint32_t uVersion);
diff --git a/src/vbox/vbox_network.c b/src/vbox/vbox_network.c
index 9c27ccda56..f687ebbf1a 100644
--- a/src/vbox/vbox_network.c
+++ b/src/vbox/vbox_network.c
@@ -22,10 +22,8 @@
 
 #include "internal.h"
 #include "datatypes.h"
-#include "domain_conf.h"
 #include "domain_event.h"
 #include "virlog.h"
-#include "virstring.h"
 #include "viralloc.h"
 #include "network_conf.h"
 
diff --git a/src/vbox/vbox_storage.c b/src/vbox/vbox_storage.c
index 10eb35c654..be609033e1 100644
--- a/src/vbox/vbox_storage.c
+++ b/src/vbox/vbox_storage.c
@@ -22,10 +22,7 @@
 
 #include "internal.h"
 #include "datatypes.h"
-#include "domain_conf.h"
-#include "domain_event.h"
 #include "virlog.h"
-#include "virstring.h"
 #include "storage_conf.h"
 #include "virutil.h"
 
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index 7344882bbd..52b1c93b6d 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -42,7 +42,6 @@
 #include "viralloc.h"
 #include "virlog.h"
 #include "virstring.h"
-#include "virutil.h"
 
 /* This one changes from version to version. */
 #if VBOX_API_VERSION == 5002000
diff --git a/src/vbox/vbox_uniformed_api.h b/src/vbox/vbox_uniformed_api.h
index 18f352d98e..c805ce03b2 100644
--- a/src/vbox/vbox_uniformed_api.h
+++ b/src/vbox/vbox_uniformed_api.h
@@ -18,8 +18,6 @@
 
 #pragma once
 
-#include "internal.h"
-
 /* This file may be used in three place. That is vbox_tmpl.c,
  * vbox_common.c and vbox_driver.c. The vboxUniformedAPI and some
  * types used for vboxUniformedAPI is defined here.
-- 
2.36.1




[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]

  Powered by Linux