aboutsummaryrefslogtreecommitdiffstats
path: root/testHTML.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-28 23:49:35 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-28 23:49:35 +0000
commit24505b0f5c872c5afb6da5093565e5a6e09ca541 (patch)
tree675aac028fceb06d49b65b628072e96fa7fe4786 /testHTML.c
parent4cd3b519664b9d95935d14e72ac5965b047b3a51 (diff)
downloadandroid_external_libxml2-24505b0f5c872c5afb6da5093565e5a6e09ca541.tar.gz
android_external_libxml2-24505b0f5c872c5afb6da5093565e5a6e09ca541.tar.bz2
android_external_libxml2-24505b0f5c872c5afb6da5093565e5a6e09ca541.zip
a lot of small cleanups based on Linus' sparse check output. Daniel
* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
Diffstat (limited to 'testHTML.c')
-rw-r--r--testHTML.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testHTML.c b/testHTML.c
index 205bdf23..f350342d 100644
--- a/testHTML.c
+++ b/testHTML.c
@@ -50,7 +50,7 @@ static int push = 0;
static char *encoding = NULL;
static int options = 0;
-xmlSAXHandler emptySAXHandlerStruct = {
+static xmlSAXHandler emptySAXHandlerStruct = {
NULL, /* internalSubset */
NULL, /* isStandalone */
NULL, /* hasInternalSubset */
@@ -85,7 +85,7 @@ xmlSAXHandler emptySAXHandlerStruct = {
NULL /* xmlStructuredErrorFunc */
};
-xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct;
+static xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct;
extern xmlSAXHandlerPtr debugSAXHandler;
/************************************************************************
@@ -574,7 +574,7 @@ fatalErrorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
va_end(args);
}
-xmlSAXHandler debugSAXHandlerStruct = {
+static xmlSAXHandler debugSAXHandlerStruct = {
internalSubsetDebug,
isStandaloneDebug,
hasInternalSubsetDebug,