提交 11bdab02 编写于 作者: P Peter Krempa

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.
上级 f38df54b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册