maint: include ignore-value in internal.h

The ignore_value macro is used across libvirt. This patch includes it in
the internal header and cleans all other includes.
This commit is contained in:
Peter Krempa 2012-06-08 15:29:17 +02:00
parent f38df54b41
commit 11bdab02c2
18 changed files with 1 additions and 17 deletions

View File

@ -31,7 +31,6 @@
#include "uuid.h"
#include "logging.h"
#include "memory.h"
#include "ignore-value.h"
/* Return nn:mm in hex for block and character devices, and NULL
* for other file types, stat failure, or allocation failure. */

View File

@ -44,7 +44,6 @@
#include "c-ctype.h"
#include "logging.h"
#include "nwfilter_conf.h"
#include "ignore-value.h"
#include "storage_file.h"
#include "virfile.h"
#include "bitmap.h"

View File

@ -30,7 +30,6 @@
#include "memory.h"
#include "datatypes.h"
#include "virterror_internal.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_DOMAIN

View File

@ -45,6 +45,7 @@
# include "libvirt_internal.h"
# include "c-strcase.h"
# include "ignore-value.h"
/* On architectures which lack these limits, define them (ie. Cygwin).
* Note that the libvirt code should be robust enough to handle the

View File

@ -58,7 +58,6 @@
#include "logging.h"
#include "dnsmasq.h"
#include "configmake.h"
#include "ignore-value.h"
#include "virnetdev.h"
#include "virnetdevbridge.h"
#include "virnetdevtap.h"

View File

@ -38,7 +38,6 @@
#include "pci.h"
#include "logging.h"
#include "node_device_driver.h"
#include "ignore-value.h"
#include "virdbus.h"
#define VIR_FROM_THIS VIR_FROM_NODEDEV

View File

@ -53,7 +53,6 @@
#include "nodeinfo.h"
#include "virfile.h"
#include "command.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_OPENVZ

View File

@ -32,7 +32,6 @@
#include "virterror_internal.h"
#include "c-ctype.h"
#include "cpu/cpu.h"
#include "ignore-value.h"
#include "uuid.h"
#include "virfile.h"
#include "domain_event.h"

View File

@ -41,7 +41,6 @@
#include "datatypes.h"
#include "virterror_internal.h"
#include "json.h"
#include "ignore-value.h"
#ifdef WITH_DTRACE_PROBES
# include "libvirt_qemu_probes.h"

View File

@ -41,7 +41,6 @@
#include "virfile.h"
#include "virpidfile.h"
#include "buf.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -37,7 +37,6 @@
#include "memory.h"
#include "util.h"
#include "virfile.h"
#include "ignore-value.h"
#include "virterror_internal.h"
#include "virtime.h"

View File

@ -38,7 +38,6 @@
# include <execinfo.h>
#endif
#include "ignore-value.h"
#include "virterror_internal.h"
#include "logging.h"
#include "memory.h"

View File

@ -24,7 +24,6 @@
#include <stdlib.h>
#include "memory.h"
#include "ignore-value.h"
#if TEST_OOM

View File

@ -29,7 +29,6 @@
#include "memory.h"
#include "threads.h"
#include "virterror_internal.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -29,7 +29,6 @@
# include <stdio.h>
# include "internal.h"
# include "ignore-value.h"
typedef enum virFileCloseFlags {
VIR_FILE_CLOSE_PRESERVE_ERRNO = 1 << 0,

View File

@ -26,7 +26,6 @@
#include "command.h"
#include "memory.h"
#include "virterror_internal.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_NONE

View File

@ -40,7 +40,6 @@
#include "xenapi_driver.h"
#include "xenapi_driver_private.h"
#include "xenapi_utils.h"
#include "ignore-value.h"
#define VIR_FROM_THIS VIR_FROM_XENAPI

View File

@ -50,7 +50,6 @@
# include <signal.h>
# include "internal.h"
# include "ignore-value.h"
# include "testutils.h"
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;