[Pkg-libvirt-commits] [libguestfs] 12/21: v2v: Remove warning when compiling --without-libvirt.

Hilko Bengen bengen at moszumanska.debian.org
Sun May 3 21:27:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 963a79f49b7956ef192cfb929885d2dcaee3670f
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sat Apr 25 22:27:50 2015 +0100

    v2v: Remove warning when compiling --without-libvirt.
    
    (cherry picked from commit 2dd01c5d2de2a2abdd2c8ac82a8758aef301e3bb)
---
 v2v/domainxml-c.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/v2v/domainxml-c.c b/v2v/domainxml-c.c
index c9ed8c5..6972940 100644
--- a/v2v/domainxml-c.c
+++ b/v2v/domainxml-c.c
@@ -288,12 +288,16 @@ v2v_pool_dumpxml (value connv, value poolnamev)
 
 #else /* !HAVE_LIBVIRT */
 
+value v2v_dumpxml (value connv, value domv) __attribute__((noreturn));
+
 value
 v2v_dumpxml (value connv, value domv)
 {
   caml_invalid_argument ("virt-v2v was compiled without libvirt support");
 }
 
+value v2v_pool_dumpxml (value connv, value poolv) __attribute__((noreturn));
+
 value
 v2v_pool_dumpxml (value connv, value poolv)
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list