Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx> --- src/admin/admin_server.c | 4 ---- src/admin/admin_server.h | 1 - src/admin/admin_server_dispatch.c | 3 --- src/admin/libvirt-admin.c | 2 -- 4 files changed, 10 deletions(-) diff --git a/src/admin/admin_server.c b/src/admin/admin_server.c index 6731a366cf..7ed2645f57 100644 --- a/src/admin/admin_server.c +++ b/src/admin/admin_server.c @@ -21,15 +21,11 @@ #include <config.h> #include "admin_server.h" -#include "datatypes.h" -#include "viralloc.h" #include "virerror.h" #include "viridentity.h" #include "virlog.h" #include "rpc/virnetdaemon.h" #include "rpc/virnetserver.h" -#include "virstring.h" -#include "virthreadpool.h" #include "virtypedparam.h" #define VIR_FROM_THIS VIR_FROM_ADMIN diff --git a/src/admin/admin_server.h b/src/admin/admin_server.h index 1c077af63b..20cb5f8fed 100644 --- a/src/admin/admin_server.h +++ b/src/admin/admin_server.h @@ -21,7 +21,6 @@ #pragma once #include "rpc/virnetdaemon.h" -#include "rpc/virnetserver.h" int adminConnectListServers(virNetDaemon *dmn, virNetServer ***servers, diff --git a/src/admin/admin_server_dispatch.c b/src/admin/admin_server_dispatch.c index 893c7f1de2..8c34586ab3 100644 --- a/src/admin/admin_server_dispatch.c +++ b/src/admin/admin_server_dispatch.c @@ -21,17 +21,14 @@ #include <config.h> #include "internal.h" -#include "libvirt_internal.h" #include "admin_server_dispatch.h" #include "admin_server.h" -#include "datatypes.h" #include "viralloc.h" #include "virerror.h" #include "virlog.h" #include "rpc/virnetdaemon.h" #include "rpc/virnetserver.h" -#include "virstring.h" #include "virthreadjob.h" #include "virtypedparam.h" #include "virutil.h" diff --git a/src/admin/libvirt-admin.c b/src/admin/libvirt-admin.c index 5f64784a13..e7f005fda0 100644 --- a/src/admin/libvirt-admin.c +++ b/src/admin/libvirt-admin.c @@ -29,10 +29,8 @@ #include "virlog.h" #include "virnetclient.h" #include "virobject.h" -#include "virstring.h" #include "viruri.h" #include "virutil.h" -#include "viruuid.h" #define VIR_FROM_THIS VIR_FROM_ADMIN -- 2.36.1