]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/xen_internal.c: fix from Hugh Brock to allow compiling
authorDaniel Veillard <veillard@redhat.com>
Tue, 5 Jun 2007 20:56:53 +0000 (20:56 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 5 Jun 2007 20:56:53 +0000 (20:56 +0000)
  with -Werror after the previous patch
Daniel

ChangeLog
src/xen_internal.c

index 1d07167235b460d3113a438d476ae95f5a661ad9..b63648bf0ce0de29b8aa65383a64f891ac1d8f03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
index 38b9c9dfe445d8fc06e76f167917110108518780..e777d417b606e9a9fdb71a8c2ea6a1a8e6149095 100644 (file)
@@ -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: