diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2022-09-20 23:17:08 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2022-09-20 23:19:14 +0200 |
commit | 9f13b5b57532307d80223ae021b79fe24b649d31 (patch) | |
tree | dd0dc6dd1139ed9bb23ce0daf3fb431c637385b3 /expat | |
parent | d77291a4824d78e697c5dc2b8024fd65ab31e209 (diff) | |
download | libexpat-git-9f13b5b57532307d80223ae021b79fe24b649d31.tar.gz |
tests: Address GCC warning -Wmissing-prototypes
Symptom:
../../../tests/runtests.c:4994:1: warning: no previous prototype for ‘suspending_comment_handler’ [-Wmissing-prototypes]
4994 | suspending_comment_handler(void *userData, const XML_Char *data) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'expat')
-rw-r--r-- | expat/Changes | 4 | ||||
-rw-r--r-- | expat/tests/runtests.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/expat/Changes b/expat/Changes index cfc83a09..be6d87a8 100644 --- a/expat/Changes +++ b/expat/Changes @@ -2,6 +2,10 @@ NOTE: We are looking for help with a few things: https://github.com/libexpat/libexpat/labels/help%20wanted If you can help, please get in touch. Thanks! +Release x.x.x xxx xxxxxxxxxxxx xx xxxx + Other changes: + #648 Address compiler warnings + Release 2.4.9 Tue September 20 2022 Security fixes: #629 #640 CVE-2022-40674 -- Heap use-after-free vulnerability in diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 530f1844..938956ac 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -4990,7 +4990,7 @@ START_TEST(test_suspend_resume_internal_entity) { } END_TEST -void +static void XMLCALL suspending_comment_handler(void *userData, const XML_Char *data) { UNUSED_P(data); XML_Parser parser = (XML_Parser)userData; |