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

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

 



$SUBJECT says it all...

--Hugh

--
Red Hat Virtualization Group http://redhat.com/virtualization
Hugh Brock           | virt-manager http://virt-manager.org
hbrock@xxxxxxxxxx    | 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:

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]