mirror of https://gitee.com/openkylin/libvirt.git
cleanup: Don't include libvirt/libvirt.h
Which is already included by "internal.h", later patch will add syntax-check to avoid it.
This commit is contained in:
parent
bc95be5dea
commit
2d25fd4f41
|
@ -24,7 +24,6 @@
|
||||||
#ifndef __VIR_NODEINFO_H__
|
#ifndef __VIR_NODEINFO_H__
|
||||||
# define __VIR_NODEINFO_H__
|
# define __VIR_NODEINFO_H__
|
||||||
|
|
||||||
# include "libvirt/libvirt.h"
|
|
||||||
# include "capabilities.h"
|
# include "capabilities.h"
|
||||||
|
|
||||||
int nodeGetInfo(virConnectPtr conn, virNodeInfoPtr nodeinfo);
|
int nodeGetInfo(virConnectPtr conn, virNodeInfoPtr nodeinfo);
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
#include "viralloc.h"
|
#include "viralloc.h"
|
||||||
#include "virlog.h"
|
#include "virlog.h"
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "libvirt/libvirt.h"
|
|
||||||
#include "virerror.h"
|
#include "virerror.h"
|
||||||
#include "viruuid.h"
|
#include "viruuid.h"
|
||||||
#include "domain_conf.h"
|
#include "domain_conf.h"
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
* 'REMOTE_'. This makes names quite long.
|
* 'REMOTE_'. This makes names quite long.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
%#include <libvirt/libvirt.h>
|
|
||||||
%#include "internal.h"
|
%#include "internal.h"
|
||||||
%#include <arpa/inet.h>
|
%#include <arpa/inet.h>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
# define __VIR_UTIL_VIRTKEYCODE_H__
|
# define __VIR_UTIL_VIRTKEYCODE_H__
|
||||||
|
|
||||||
# include "virutil.h"
|
# include "virutil.h"
|
||||||
# include "libvirt/libvirt.h"
|
|
||||||
|
|
||||||
VIR_ENUM_DECL(virKeycodeSet);
|
VIR_ENUM_DECL(virKeycodeSet);
|
||||||
int virKeycodeValueFromString(virKeycodeSet codeset, const char *keyname);
|
int virKeycodeValueFromString(virKeycodeSet codeset, const char *keyname);
|
||||||
|
|
Loading…
Reference in New Issue