[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] [PATCH] make xen compile -Werror and without PROXY turned on (the autobuild config)



$SUBJECT says it all...

--Hugh

--
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock           | virt-manager http://virt-manager.org
hbrock redhat com    | virtualization library http://libvirt.org
Index: src/xen_internal.c
===================================================================
RCS file: /data/cvs/libvirt/src/xen_internal.c,v
retrieving revision 1.77
diff -u -r1.77 xen_internal.c
--- src/xen_internal.c	5 Jun 2007 13:11:48 -0000	1.77
+++ src/xen_internal.c	5 Jun 2007 18:41:57 -0000
@@ -660,6 +660,8 @@
                     errmsg, info, NULL, value, 0, errmsg, info);
 }
 
+#ifndef PROXY
+
 /**
  * virXenErrorFunc:
  * @error: the error number
@@ -692,6 +694,8 @@
     }
 }
 
+#endif /* PROXY */
+
 /**
  * virXenPerror:
  * @conn: the connection (if available)
@@ -2830,7 +2834,7 @@
     }
     return nbinfo;
 }
-#endif
+#endif /* PROXY */
 
 /**
  * xenHypervisorGetVcpuMax:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]