提交 aef39eb0 编写于 作者: P Peter Krempa

maint: Fix messy include of libvirt_internal.h

The libvirt_internal.h header was included by the internal.h header.
This made it painful to add new stuff to the header file that would
require some more specific types. Remove inclusion by internal.h and add
it to appropriate places manually.
上级 db3dd082
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
# include <unistd.h> # include <unistd.h>
# include "internal.h" # include "internal.h"
# include "libvirt_internal.h"
# include "viruri.h" # include "viruri.h"
/* /*
* List of registered drivers numbers * List of registered drivers numbers
......
...@@ -60,8 +60,6 @@ ...@@ -60,8 +60,6 @@
# include "libvirt/libvirt-qemu.h" # include "libvirt/libvirt-qemu.h"
# include "libvirt/virterror.h" # include "libvirt/virterror.h"
# include "libvirt_internal.h"
# include "c-strcase.h" # include "c-strcase.h"
# include "ignore-value.h" # include "ignore-value.h"
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
# include <libxl.h> # include <libxl.h>
# include "internal.h" # include "internal.h"
# include "libvirt_internal.h"
# include "domain_conf.h" # include "domain_conf.h"
# include "domain_event.h" # include "domain_event.h"
# include "capabilities.h" # include "capabilities.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
# define LXC_CONF_H # define LXC_CONF_H
# include "internal.h" # include "internal.h"
# include "libvirt_internal.h"
# include "domain_conf.h" # include "domain_conf.h"
# include "domain_event.h" # include "domain_event.h"
# include "capabilities.h" # include "capabilities.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
# define __UML_CONF_H # define __UML_CONF_H
# include "internal.h" # include "internal.h"
# include "libvirt_internal.h"
# include "capabilities.h" # include "capabilities.h"
# include "network_conf.h" # include "network_conf.h"
# include "domain_conf.h" # include "domain_conf.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册