summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2020-10-03 00:41:22 +0200
committerSebastian Pipping <sebastian@pipping.org>2020-10-03 00:43:37 +0200
commitcdeadf8522b98413c90d3e45a37765c2754ab3e3 (patch)
tree744d9e8baccd94139945a1dfbbc958af83bb8321
parent10155503c67fd19c86f1581e74e451968b553a08 (diff)
downloadlibexpat-git-cdeadf8522b98413c90d3e45a37765c2754ab3e3.tar.gz
tests: Add missing static to address compiler warning
Warning was: runtests.c:112:1: warning: no previous prototype for ‘tcase_add_test__ifdef_xml_dtd’ [-Wmissing-prototypes]
-rw-r--r--expat/tests/runtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c
index 7791fe03..ecd7e705 100644
--- a/expat/tests/runtests.c
+++ b/expat/tests/runtests.c
@@ -108,7 +108,7 @@ typedef unsigned __int64 uint64_t;
static XML_Parser g_parser = NULL;
-void
+static void
tcase_add_test__ifdef_xml_dtd(TCase *tc, tcase_test_function test) {
#ifdef XML_DTD
tcase_add_test(tc, test);