diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-09-29 13:20:24 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-09-29 13:20:24 +0000 |
commit | a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4 (patch) | |
tree | ba5ba1b51fea7936c5ca1b90e23c2004df34c703 /xmlcatalog.c | |
parent | c064b476c8736c8c601e4d8fc480a5d998d9441f (diff) | |
download | android_external_libxml2-a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4.tar.gz android_external_libxml2-a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4.tar.bz2 android_external_libxml2-a9cce9cd0d7aff3ec318b5d8d376da131b6aaad4.zip |
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 'xmlcatalog.c')
-rw-r--r-- | xmlcatalog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlcatalog.c b/xmlcatalog.c index 44c8e633..6e614ced 100644 --- a/xmlcatalog.c +++ b/xmlcatalog.c @@ -29,7 +29,7 @@ #include <libxml/parser.h> #include <libxml/globals.h> -#ifdef LIBXML_CATALOG_ENABLED +#if defined(LIBXML_CATALOG_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) static int shell = 0; static int sgml = 0; static int noout = 0; @@ -580,8 +580,8 @@ int main(int argc, char **argv) { return(exit_value); } #else -int main(int argc, char **argv) { - fprintf(stderr, "libxml was not compiled with catalog support\n"); +int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { + fprintf(stderr, "libxml was not compiled with catalog and output support\n"); return(1); } #endif |