From: Peter Krempa Date: Fri, 8 Mar 2013 09:04:55 +0000 (+0100) Subject: Revert "Ensure xmlSaveToBuffer is always defined" X-Git-Tag: v1.0.4-rc1~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406dc47757e8fbfd5447942e33c8a4548fe254e0;p=thirdparty%2Flibvirt.git Revert "Ensure xmlSaveToBuffer is always defined" The commit originally fixed code that isn't being used. Revert it and remove the unused code as a real fix. This reverts commit a66b32d9295ed87698ffd98d82e9e5818ff799e5. --- diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index c2726889a1..96dd4fabd8 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -56,17 +56,6 @@ #include "virtypedparam.h" #include "virxml.h" -/* libxml2 in RHEL4 has this symbol in the binary but it - * is commented out in the header, despite apparently - * working fine. This hacks around that header problem - */ -#ifndef xmlSaveToBuffer -XMLPUBFUN xmlSaveCtxtPtr XMLCALL -xmlSaveToBuffer (xmlBufferPtr buffer, - const char *encoding, - int options); -#endif - /* Gnulib doesn't guarantee SA_SIGINFO support. */ #ifndef SA_SIGINFO # define SA_SIGINFO 0