cleanup some static declarations Daniel
* HTMLtree.c valid.c: cleanup some static declarations
Daniel
diff --git a/ChangeLog b/ChangeLog
index 465dbf8..1b22e90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 13 15:54:35 CET 2001 Daniel Veillard <daniel@veillard.com>
+
+ * HTMLtree.c valid.c: cleanup some static declarations
+
Thu Dec 13 15:23:04 CET 2001 Daniel Veillard <daniel@veillard.com>
* xmllint.c: removed another strdup()
diff --git a/HTMLtree.c b/HTMLtree.c
index cb5f308..c122ff2 100644
--- a/HTMLtree.c
+++ b/HTMLtree.c
@@ -297,6 +297,9 @@
static void
htmlDocContentDump(xmlBufferPtr buf, xmlDocPtr cur, int format);
+static void
+htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
+ int format);
/**
* htmlDtdDump:
@@ -395,9 +398,6 @@
}
}
-static void
-htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, int format);
-
/**
* htmlNodeListDump:
* @buf: the HTML buffer output
@@ -428,7 +428,7 @@
*
* Dump an HTML node, recursive behaviour,children are printed too.
*/
-void
+static void
htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
int format) {
const htmlElemDesc * info;
diff --git a/valid.c b/valid.c
index ad22408..35c2acb 100644
--- a/valid.c
+++ b/valid.c
@@ -2326,7 +2326,7 @@
* returns the xmlElementPtr if found or NULL
*/
-xmlElementPtr
+static xmlElementPtr
xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name, int create) {
xmlElementTablePtr table;
xmlElementPtr cur;