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: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Ján Tomko 2020-02-22 16:22:54 +01:00
parent 32b3fd9b26
commit f331a9ef64
27 changed files with 0 additions and 27 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -28,7 +28,6 @@
#include <unistd.h>
#include <fcntl.h>
#include "virutil.h"
#include "virthread.h"
#include "virfile.h"
#include "viralloc.h"

View File

@ -27,7 +27,6 @@
#include "viralloc.h"
#include "virlog.h"
#include "virthread.h"
#include "virutil.h"
#include "virstring.h"
#define LIBVIRT_VIRERRORPRIV_H_ALLOW

View File

@ -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"

View File

@ -21,7 +21,6 @@
#include <config.h>
#include "internal.h"
#include "virgic.h"
#include "virutil.h"
VIR_ENUM_IMPL(virGICVersion,
VIR_GIC_VERSION_LAST,

View File

@ -24,7 +24,6 @@
#include "viralloc.h"
#include "virerror.h"
#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -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"

View File

@ -25,7 +25,6 @@
#include "virerror.h"
#include "virlog.h"
#include "virstring.h"
#include "virutil.h"
#include "vircommand.h"
#include "viralloc.h"

View File

@ -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

View File

@ -36,7 +36,6 @@
#include "virfile.h"
#include "virkmod.h"
#include "virstring.h"
#include "virutil.h"
#include "viralloc.h"
VIR_LOG_INIT("util.pci");

View File

@ -29,7 +29,6 @@
#include "virrandom.h"
#include "virthread.h"
#include "virutil.h"
#include "virerror.h"
#include "virfile.h"
#include "virlog.h"

View File

@ -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"

View File

@ -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"

View File

@ -25,7 +25,6 @@
#include <stdarg.h>
#include "viralloc.h"
#include "virutil.h"
#include "virerror.h"
#include "virstring.h"

View File

@ -27,7 +27,6 @@
#include "virbuffer.h"
#include "virlog.h"
#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_URI

View File

@ -29,7 +29,6 @@
#include "virusb.h"
#include "virlog.h"
#include "virutil.h"
#include "virerror.h"
#include "virfile.h"
#include "virstring.h"

View File

@ -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"

View File

@ -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"

View File

@ -29,7 +29,6 @@
#include "virlog.h"
#include "virstring.h"
#include "virfile.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -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"

View File

@ -22,7 +22,6 @@
#include "testutils.h"
#include "virkeycode.h"
#include "virutil.h"
#include "virerror.h"
#include "viralloc.h"
#include "virlog.h"

View File

@ -26,7 +26,6 @@
#if defined(__linux__) && defined(RTLD_NEXT)
# include "virutil.h"
# include "virerror.h"
# include "viralloc.h"
# include "virlog.h"

View File

@ -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"

View File

@ -25,7 +25,6 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virfile.h"
#include "virutil.h"
#include "vsh-table.h"
virNWFilterPtr