From 86fd5a7671f3d9c16965eef6a2ade4e1186a1969 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 13 Dec 2001 14:55:21 +0000 Subject: [PATCH] cleanup some static declarations Daniel * HTMLtree.c valid.c: cleanup some static declarations Daniel --- ChangeLog | 4 ++++ HTMLtree.c | 8 ++++---- valid.c | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 465dbf8e..1b22e90d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 13 15:54:35 CET 2001 Daniel Veillard + + * HTMLtree.c valid.c: cleanup some static declarations + Thu Dec 13 15:23:04 CET 2001 Daniel Veillard * xmllint.c: removed another strdup() diff --git a/HTMLtree.c b/HTMLtree.c index cb5f3080..c122ff24 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -297,6 +297,9 @@ found_meta: 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 @@ htmlAttrListDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur, int format) { } } -static void -htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, int format); - /** * htmlNodeListDump: * @buf: the HTML buffer output @@ -428,7 +428,7 @@ htmlNodeListDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, int format) { * * 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 ad22408b..35c2acb6 100644 --- a/valid.c +++ b/valid.c @@ -2326,7 +2326,7 @@ xmlGetDtdElementDesc(xmlDtdPtr dtd, const xmlChar *name) { * returns the xmlElementPtr if found or NULL */ -xmlElementPtr +static xmlElementPtr xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name, int create) { xmlElementTablePtr table; xmlElementPtr cur;