mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
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:
parent
f38df54b41
commit
11bdab02c2
@ -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. */
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -53,7 +53,6 @@
|
||||
#include "nodeinfo.h"
|
||||
#include "virfile.h"
|
||||
#include "command.h"
|
||||
#include "ignore-value.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_OPENVZ
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "virfile.h"
|
||||
#include "virpidfile.h"
|
||||
#include "buf.h"
|
||||
#include "ignore-value.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "memory.h"
|
||||
#include "util.h"
|
||||
#include "virfile.h"
|
||||
#include "ignore-value.h"
|
||||
#include "virterror_internal.h"
|
||||
#include "virtime.h"
|
||||
|
||||
|
@ -38,7 +38,6 @@
|
||||
# include <execinfo.h>
|
||||
#endif
|
||||
|
||||
#include "ignore-value.h"
|
||||
#include "virterror_internal.h"
|
||||
#include "logging.h"
|
||||
#include "memory.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "memory.h"
|
||||
#include "ignore-value.h"
|
||||
|
||||
|
||||
#if TEST_OOM
|
||||
|
@ -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
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
# include <stdio.h>
|
||||
|
||||
# include "internal.h"
|
||||
# include "ignore-value.h"
|
||||
|
||||
typedef enum virFileCloseFlags {
|
||||
VIR_FILE_CLOSE_PRESERVE_ERRNO = 1 << 0,
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -50,7 +50,6 @@
|
||||
# include <signal.h>
|
||||
|
||||
# include "internal.h"
|
||||
# include "ignore-value.h"
|
||||
# include "testutils.h"
|
||||
|
||||
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
|
||||
|
Loading…
Reference in New Issue
Block a user