1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-13 13:17:36 +03:00

cleanup some static declarations Daniel

* HTMLtree.c valid.c: cleanup some static declarations
Daniel
This commit is contained in:
Daniel Veillard 2001-12-13 14:55:21 +00:00
parent 9ae4b7afa9
commit 86fd5a7671
3 changed files with 9 additions and 5 deletions

View File

@ -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> Thu Dec 13 15:23:04 CET 2001 Daniel Veillard <daniel@veillard.com>
* xmllint.c: removed another strdup() * xmllint.c: removed another strdup()

View File

@ -297,6 +297,9 @@ found_meta:
static void static void
htmlDocContentDump(xmlBufferPtr buf, xmlDocPtr cur, int format); htmlDocContentDump(xmlBufferPtr buf, xmlDocPtr cur, int format);
static void
htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
int format);
/** /**
* htmlDtdDump: * 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: * htmlNodeListDump:
* @buf: the HTML buffer output * @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. * Dump an HTML node, recursive behaviour,children are printed too.
*/ */
void static void
htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
int format) { int format) {
const htmlElemDesc * info; const htmlElemDesc * info;

View File

@ -2326,7 +2326,7 @@ xmlGetDtdElementDesc(xmlDtdPtr dtd, const xmlChar *name) {
* returns the xmlElementPtr if found or NULL * returns the xmlElementPtr if found or NULL
*/ */
xmlElementPtr static xmlElementPtr
xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name, int create) { xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name, int create) {
xmlElementTablePtr table; xmlElementTablePtr table;
xmlElementPtr cur; xmlElementPtr cur;