aboutsummaryrefslogtreecommitdiffstats
path: root/testSAX.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 /testSAX.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 'testSAX.c')
-rw-r--r--testSAX.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testSAX.c b/testSAX.c
index 2f2921ee..cd16268f 100644
--- a/testSAX.c
+++ b/testSAX.c
@@ -200,7 +200,7 @@ endTimer(char *format, ...)
/*
* empty SAX block
*/
-xmlSAXHandler emptySAXHandlerStruct = {
+static xmlSAXHandler emptySAXHandlerStruct = {
NULL, /* internalSubset */
NULL, /* isStandalone */
NULL, /* hasInternalSubset */
@@ -235,7 +235,7 @@ xmlSAXHandler emptySAXHandlerStruct = {
NULL /* xmlStructuredErrorFunc */
};
-xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct;
+static xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct;
extern xmlSAXHandlerPtr debugSAXHandler;
/************************************************************************
@@ -833,7 +833,7 @@ fatalErrorDebug(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...)
va_end(args);
}
-xmlSAXHandler debugSAXHandlerStruct = {
+static xmlSAXHandler debugSAXHandlerStruct = {
internalSubsetDebug,
isStandaloneDebug,
hasInternalSubsetDebug,
@@ -957,7 +957,7 @@ endElementNsDebug(void *ctx ATTRIBUTE_UNUSED,
fprintf(stdout, ", '%s')\n", (char *) URI);
}
-xmlSAXHandler debugSAX2HandlerStruct = {
+static xmlSAXHandler debugSAX2HandlerStruct = {
internalSubsetDebug,
isStandaloneDebug,
hasInternalSubsetDebug,
@@ -992,7 +992,7 @@ xmlSAXHandler debugSAX2HandlerStruct = {
NULL
};
-xmlSAXHandlerPtr debugSAX2Handler = &debugSAX2HandlerStruct;
+static xmlSAXHandlerPtr debugSAX2Handler = &debugSAX2HandlerStruct;
/************************************************************************
* *