schemas: Make xmlSchemaDump depend on DEBUG_ENABLED
diff --git a/include/libxml/xmlschemas.h b/include/libxml/xmlschemas.h index e71dc9a..78073cd 100644 --- a/include/libxml/xmlschemas.h +++ b/include/libxml/xmlschemas.h
@@ -172,11 +172,11 @@ xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt); XMLPUBFUN void xmlSchemaFree (xmlSchemaPtr schema); -#ifdef LIBXML_OUTPUT_ENABLED +#ifdef LIBXML_DEBUG_ENABLED XMLPUBFUN void xmlSchemaDump (FILE *output, xmlSchemaPtr schema); -#endif /* LIBXML_OUTPUT_ENABLED */ +#endif /* LIBXML_DEBUG_ENABLED */ /* * Interfaces for validating */
diff --git a/xmlschemas.c b/xmlschemas.c index 95be97c..b3214f5 100644 --- a/xmlschemas.c +++ b/xmlschemas.c
@@ -4196,7 +4196,7 @@ * * ************************************************************************/ -#ifdef LIBXML_OUTPUT_ENABLED +#ifdef LIBXML_DEBUG_ENABLED static void xmlSchemaTypeDump(xmlSchemaTypePtr type, FILE * output); /* forward */ @@ -4569,7 +4569,7 @@ xmlHashScanFull(schema->elemDecl, xmlSchemaElementDump, output); } -#endif /* LIBXML_OUTPUT_ENABLED */ +#endif /* LIBXML_DEBUG_ENABLED */ /************************************************************************ * *