From cdeadf8522b98413c90d3e45a37765c2754ab3e3 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 3 Oct 2020 00:41:22 +0200 Subject: [PATCH] tests: Add missing static to address compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Warning was: runtests.c:112:1: warning: no previous prototype for ‘tcase_add_test__ifdef_xml_dtd’ [-Wmissing-prototypes] --- expat/tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);