[PATCH 1/2] Revert "Ensure xmlSaveToBuffer is always defined"

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

 



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 c272688..96dd4fa 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
-- 
1.8.1.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]