提交 f331a9ef 编写于 作者: J Ján Tomko

Remove virutil.h where possible

Historically, this file was a dump for most of our helper
functions and needed almost everywhere.
With the introduction of virfile.h and virstring.h,
and more importantly, virenum.h and the introduction
of GLib, that is no longer true.

Remove its include from C files that don't even use it.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
上级 32b3fd9b
......@@ -27,7 +27,6 @@
#include "virlog.h"
#include "virerror.h"
#include "virstring.h"
#include "virutil.h"
#include "virfile.h"
#include "virtime.h"
#include "virsystemd.h"
......
......@@ -29,7 +29,6 @@
#include "vircommand.h"
#include "viralloc.h"
#include "virlog.h"
#include "virutil.h"
#include "virfile.h"
#include "virstring.h"
#include "virtime.h"
......
......@@ -26,7 +26,6 @@
#include "viralloc.h"
#include "virlog.h"
#include "configmake.h"
#include "virutil.h"
#include "virerror.h"
#include "virobject.h"
#include "virstring.h"
......
......@@ -29,7 +29,6 @@
#include "virlog.h"
#include "configmake.h"
#include "virthread.h"
#include "virutil.h"
#include "virerror.h"
#include "virfile.h"
#include "virobject.h"
......
......@@ -28,7 +28,6 @@
#include <unistd.h>
#include <fcntl.h>
#include "virutil.h"
#include "virthread.h"
#include "virfile.h"
#include "viralloc.h"
......
......@@ -27,7 +27,6 @@
#include "viralloc.h"
#include "virlog.h"
#include "virthread.h"
#include "virutil.h"
#include "virstring.h"
#define LIBVIRT_VIRERRORPRIV_H_ALLOW
......
......@@ -27,7 +27,6 @@
#include "virfirewalld.h"
#include "viralloc.h"
#include "virerror.h"
#include "virutil.h"
#include "virstring.h"
#include "vircommand.h"
#include "virlog.h"
......
......@@ -21,7 +21,6 @@
#include <config.h>
#include "internal.h"
#include "virgic.h"
#include "virutil.h"
VIR_ENUM_IMPL(virGICVersion,
VIR_GIC_VERSION_LAST,
......
......@@ -24,7 +24,6 @@
#include "viralloc.h"
#include "virerror.h"
#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE
......
......@@ -21,7 +21,6 @@
#include "virnetdevbridge.h"
#include "virnetdev.h"
#include "virerror.h"
#include "virutil.h"
#include "virfile.h"
#include "viralloc.h"
#include "virlog.h"
......
......@@ -25,7 +25,6 @@
#include "virerror.h"
#include "virlog.h"
#include "virstring.h"
#include "virutil.h"
#include "vircommand.h"
#include "viralloc.h"
......
......@@ -26,7 +26,6 @@
#include "virerror.h"
#include "virfile.h"
#include "virstring.h"
#include "virutil.h"
#include "virnetdev.h"
#define VIR_FROM_THIS VIR_FROM_NONE
......
......@@ -36,7 +36,6 @@
#include "virfile.h"
#include "virkmod.h"
#include "virstring.h"
#include "virutil.h"
#include "viralloc.h"
VIR_LOG_INIT("util.pci");
......
......@@ -29,7 +29,6 @@
#include "virrandom.h"
#include "virthread.h"
#include "virutil.h"
#include "virerror.h"
#include "virfile.h"
#include "virlog.h"
......
......@@ -31,7 +31,6 @@
#include "virlog.h"
#include "virscsi.h"
#include "virfile.h"
#include "virutil.h"
#include "virstring.h"
#include "virerror.h"
#include "viralloc.h"
......
......@@ -34,7 +34,6 @@
#include "virhash.h"
#include "virendian.h"
#include "virstring.h"
#include "virutil.h"
#include "viruri.h"
#include "virbuffer.h"
#include "virjson.h"
......
......@@ -25,7 +25,6 @@
#include <stdarg.h>
#include "viralloc.h"
#include "virutil.h"
#include "virerror.h"
#include "virstring.h"
......
......@@ -27,7 +27,6 @@
#include "virbuffer.h"
#include "virlog.h"
#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_URI
......
......@@ -29,7 +29,6 @@
#include "virusb.h"
#include "virlog.h"
#include "virutil.h"
#include "virerror.h"
#include "virfile.h"
#include "virstring.h"
......
......@@ -29,7 +29,6 @@
#include "virerror.h"
#include "virxml.h"
#include "virbuffer.h"
#include "virutil.h"
#include "viralloc.h"
#include "virfile.h"
#include "virstring.h"
......
......@@ -38,7 +38,6 @@
#include "vbox_driver.h"
#include "vbox_glue.h"
#include "virerror.h"
#include "virutil.h"
#include "domain_event.h"
#include "domain_conf.h"
......
......@@ -29,7 +29,6 @@
#include "virlog.h"
#include "virstring.h"
#include "virfile.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE
......
......@@ -29,7 +29,6 @@
#include "testutils.h"
#include "internal.h"
#include "viralloc.h"
#include "virutil.h"
#include "virthread.h"
#include "virerror.h"
#include "virbuffer.h"
......
......@@ -22,7 +22,6 @@
#include "testutils.h"
#include "virkeycode.h"
#include "virutil.h"
#include "virerror.h"
#include "viralloc.h"
#include "virlog.h"
......
......@@ -26,7 +26,6 @@
#if defined(__linux__) && defined(RTLD_NEXT)
# include "virutil.h"
# include "virerror.h"
# include "viralloc.h"
# include "virlog.h"
......
......@@ -40,7 +40,6 @@
#include "viralloc.h"
#include "virfile.h"
#include "virmacaddr.h"
#include "virutil.h"
#include "virxml.h"
#include "virstring.h"
#include "vsh-table.h"
......
......@@ -25,7 +25,6 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virfile.h"
#include "virutil.h"
#include "vsh-table.h"
virNWFilterPtr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册