]> git.dujemihanovic.xyz Git - u-boot.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)
commit99de38a1092b584da438970a3b636cc3178b3637
tree347f68e279212f84f98743e5c99fdb7b5bd379df
parentfbfcb614e05890d30264c2b965fd28bfd4d8ed27
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