Re: [PATCH 4/7] zlib: trees.c: Fix a warning with clang-15

2023-03-22 Thread Tom Rini
On Mon, Feb 27, 2023 at 05:08:36PM -0500, Tom Rini wrote: > 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

Re: [PATCH 4/7] zlib: trees.c: Fix a warning with clang-15

2023-02-27 Thread Simon Glass
On Mon, 27 Feb 2023 at 15:09, Tom Rini wrote: > > 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

[PATCH 4/7] zlib: trees.c: Fix a warning with clang-15

2023-02-27 Thread Tom Rini
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.