fixed --with-threads compile fixed --without-debug compile cleanup add a

* globals.c: fixed --with-threads compile
* xmllint.c: fixed --without-debug compile
* include/libxml/globals.h: cleanup
* include/libxml/schemasInternals.h: add a missing include
Daniel
diff --git a/ChangeLog b/ChangeLog
index 474ae3d..08de747 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Jan  7 01:17:26 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+	* globals.c: fixed --with-threads compile
+	* xmllint.c: fixed --without-debug compile
+	* include/libxml/globals.h: cleanup
+	* include/libxml/schemasInternals.h: add a missing include
+
 Mon Jan  6 14:06:07 CET 2003 Daniel Veillard <daniel@veillard.com>
 
 	* configure.in NEWS: preparing 2.5.0 release
diff --git a/globals.c b/globals.c
index b05decd..2a50a08 100644
--- a/globals.c
+++ b/globals.c
@@ -115,6 +115,8 @@
 #undef	xmlPedanticParserDefaultValue
 #undef	xmlSaveNoEmptyTags
 #undef	xmlSubstituteEntitiesDefaultValue
+#undef	xmlRegisterNodeDefaultValue
+#undef	xmlDeregisterNodeDefaultValue
 
 #undef	xmlFree
 #undef	xmlMalloc
diff --git a/include/libxml/globals.h b/include/libxml/globals.h
index ce98a11..6f880c0 100644
--- a/include/libxml/globals.h
+++ b/include/libxml/globals.h
@@ -55,8 +55,8 @@
 #undef xmlRegisterNodeDefaultValue
 #undef xmlDeregisterNodeDefaultValue
 
-typedef void (*xmlRegisterNodeFunc)(xmlNodePtr node);
-typedef void (*xmlDeregisterNodeFunc)(xmlNodePtr node);
+typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
+typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
 
 typedef struct _xmlGlobalState xmlGlobalState;
 typedef xmlGlobalState *xmlGlobalStatePtr;
diff --git a/include/libxml/schemasInternals.h b/include/libxml/schemasInternals.h
index 29ad862..fb1f7ee 100644
--- a/include/libxml/schemasInternals.h
+++ b/include/libxml/schemasInternals.h
@@ -16,6 +16,7 @@
 #ifdef LIBXML_SCHEMAS_ENABLED
 
 #include <libxml/xmlregexp.h>
+#include <libxml/hash.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/xmllint.c b/xmllint.c
index 917a6ed..19fc3ab 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -86,10 +86,10 @@
 #include <libxml/xmlreader.h>
 
 #ifdef LIBXML_DEBUG_ENABLED
-static int debug = 0;
 static int shell = 0;
 static int debugent = 0;
 #endif
+static int debug = 0;
 static int copy = 0;
 static int recovery = 0;
 static int noent = 0;
@@ -1132,6 +1132,8 @@
     printf("\t--debug : dump a debug tree of the in-memory document\n");
     printf("\t--shell : run a navigating shell\n");
     printf("\t--debugent : debug the entities defined in the document\n");
+#else
+    printf("\t--debug : dump the nodes content when using --stream\n");
 #endif
     printf("\t--copy : used to test the internal copy implementation\n");
     printf("\t--recover : output what was parsable on broken XML documents\n");