From 406dc47757e8fbfd5447942e33c8a4548fe254e0 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 8 Mar 2013 10:04:55 +0100 Subject: [PATCH] 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. --- tools/virsh-domain.c | 11 ----------- 1 file changed, 11 deletions(-) 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