]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Revert "Ensure xmlSaveToBuffer is always defined"
authorPeter Krempa <pkrempa@redhat.com>
Fri, 8 Mar 2013 09:04:55 +0000 (10:04 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sun, 10 Mar 2013 09:18:23 +0000 (10:18 +0100)
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

index c2726889a1393ba88ffb60a582d52d2e511f0b2f..96dd4fabd8c1dcee36e073ebe2fa2c3dacf69fec 100644 (file)
 #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