]> git.baikalelectronics.ru Git - uboot.git/commit
zlib: trees.c: Fix a warning with clang-15
authorTom Rini <trini@konsulko.com>
Mon, 27 Feb 2023 22:08:36 +0000 (17:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 22 Mar 2023 19:22:48 +0000 (15:22 -0400)
commit07ab51b8a44e142b169730e593a788f1bd931f14
tree347f68e279212f84f98743e5c99fdb7b5bd379df
parentaee0da229b4373b7cfca93cb6ddcafdc14433113
zlib: trees.c: Fix a warning with clang-15

With clang-15 we now will get warnings such as:

warning: a function declaration without a prototype is deprecated in all
versions of C [-Wstrict-prototypes]

And it is easy enough to address this warning here, even if we would
like to stay in sync more with upstream as it's a single location.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/zlib/trees.c