bool can be a reserved keyword. Daniel
* debugXML.c include/libxml/debugXML.h: bool can be a reserved
keyword.
Daniel
diff --git a/ChangeLog b/ChangeLog
index d6c1ef3..167fc71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 1 09:37:13 CET 2001 Daniel Veillard <daniel@veillard.com>
+
+ * debugXML.c include/libxml/debugXML.h: bool can be a reserved
+ keyword.
+
Wed Oct 31 18:50:08 CET 2001 Daniel Veillard <daniel@veillard.com>
* Makefile.am: cleanup
diff --git a/debugXML.c b/debugXML.c
index b1461a9..bbda5d7 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -1162,14 +1162,14 @@
/**
* 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 bcd8505..a461902 100644
--- a/include/libxml/debugXML.h
+++ b/include/libxml/debugXML.h
@@ -50,7 +50,7 @@
void xmlLsOneNode (FILE *output, xmlNodePtr node);
int xmlLsCountNode (xmlNodePtr node);
-const char *xmlBoolToText (int bool);
+const char *xmlBoolToText (int boolval);
long xmlGetLineNo (xmlNodePtr node);
/****************************************************************