diff --git a/ChangeLog b/ChangeLog index 1d07167235..b63648bf0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 5 22:47:09 CEST 2007 Daniel Veillard + + * 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 * include/libvirt/libvirt.h include/libvirt/libvirt.h.in diff --git a/src/xen_internal.c b/src/xen_internal.c index 38b9c9dfe4..e777d417b6 100644 --- a/src/xen_internal.c +++ b/src/xen_internal.c @@ -660,6 +660,8 @@ virXenError(virErrorNumber error, const char *info, int value) errmsg, info, NULL, value, 0, errmsg, info); } +#ifndef PROXY + /** * virXenErrorFunc: * @error: the error number @@ -692,6 +694,8 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info, } } +#endif /* PROXY */ + /** * virXenPerror: * @conn: the connection (if available) @@ -2830,7 +2834,7 @@ xenHypervisorGetVcpus(virDomainPtr domain, virVcpuInfoPtr info, int maxinfo, } return nbinfo; } -#endif +#endif /* PROXY */ /** * xenHypervisorGetVcpuMax: