diff --git a/ChangeLog b/ChangeLog index d6c1ef3b..167fc71e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 1 09:37:13 CET 2001 Daniel Veillard + + * debugXML.c include/libxml/debugXML.h: bool can be a reserved + keyword. + Wed Oct 31 18:50:08 CET 2001 Daniel Veillard * Makefile.am: cleanup diff --git a/debugXML.c b/debugXML.c index b1461a92..bbda5d7e 100644 --- a/debugXML.c +++ b/debugXML.c @@ -1162,14 +1162,14 @@ xmlLsOneNode(FILE *output, xmlNodePtr node) { /** * xmlBoolToText: - * @bool : a bool to turn into text + * @boolval : a bool to turn into text * * Convenient way to turn bool into text */ const char * -xmlBoolToText(int bool) +xmlBoolToText(int boolval) { - if (bool) + if (boolval) return("True"); else return("False"); diff --git a/include/libxml/debugXML.h b/include/libxml/debugXML.h index bcd8505f..a4619029 100644 --- a/include/libxml/debugXML.h +++ b/include/libxml/debugXML.h @@ -50,7 +50,7 @@ void xmlDebugDumpEntities (FILE *output, void xmlLsOneNode (FILE *output, xmlNodePtr node); int xmlLsCountNode (xmlNodePtr node); -const char *xmlBoolToText (int bool); +const char *xmlBoolToText (int boolval); long xmlGetLineNo (xmlNodePtr node); /****************************************************************