* src/xen_internal.c: fix from Hugh Brock to allow compiling

with -Werror after the previous patch
Daniel
This commit is contained in:
Daniel Veillard 2007-06-05 20:56:53 +00:00
parent a62e008365
commit 75e63ce86e
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Jun 5 22:47:09 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/xen_internal.c: fix from Hugh Brock to allow compiling
with -Werror after the previous patch
Tue Jun 5 14:03:38 CEST 2007 Daniel Veillard <veillard@redhat.com> Tue Jun 5 14:03:38 CEST 2007 Daniel Veillard <veillard@redhat.com>
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in * include/libvirt/libvirt.h include/libvirt/libvirt.h.in

View File

@ -660,6 +660,8 @@ virXenError(virErrorNumber error, const char *info, int value)
errmsg, info, NULL, value, 0, errmsg, info); errmsg, info, NULL, value, 0, errmsg, info);
} }
#ifndef PROXY
/** /**
* virXenErrorFunc: * virXenErrorFunc:
* @error: the error number * @error: the error number
@ -692,6 +694,8 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info,
} }
} }
#endif /* PROXY */
/** /**
* virXenPerror: * virXenPerror:
* @conn: the connection (if available) * @conn: the connection (if available)
@ -2830,7 +2834,7 @@ xenHypervisorGetVcpus(virDomainPtr domain, virVcpuInfoPtr info, int maxinfo,
} }
return nbinfo; return nbinfo;
} }
#endif #endif /* PROXY */
/** /**
* xenHypervisorGetVcpuMax: * xenHypervisorGetVcpuMax: