summaryrefslogtreecommitdiff
path: root/testC14N.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-09-29 13:20:24 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-09-29 13:20:24 +0000
commita9cce9cd0d7aff3ec318b5d8d376da131b6aaad4 (patch)
treeba5ba1b51fea7936c5ca1b90e23c2004df34c703 /testC14N.c
parentc064b476c8736c8c601e4d8fc480a5d998d9441f (diff)
downloadlibxml2-a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4.tar.gz
Okay this is scary but it is just adding a configure option to disable
* HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
Diffstat (limited to 'testC14N.c')
-rw-r--r--testC14N.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testC14N.c b/testC14N.c
index bdacc227..6a36a684 100644
--- a/testC14N.c
+++ b/testC14N.c
@@ -7,7 +7,7 @@
* Author: Aleksey Sanin <aleksey@aleksey.com>
*/
#include "libxml.h"
-#if defined(LIBXML_C14N_ENABLED)
+#if defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED)
#include <stdio.h>
#include <string.h>
@@ -348,8 +348,8 @@ print_xpath_nodes(xmlNodeSetPtr nodes) {
#else
#include <stdio.h>
-int main(int argc, char **argv) {
- printf("%s : XPath/Canonicalization support not compiled in\n", argv[0]);
+int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
+ printf("%s : XPath/Canonicalization and output support not compiled in\n", argv[0]);
return(0);
}
#endif /* LIBXML_C14N_ENABLED */