[PATCH 1/7] global: Disable deprecated-non-prototype warning with clang

Tom Rini trini at konsulko.com
Thu Mar 23 02:17:54 CET 2023

On Mon, Feb 27, 2023 at 05:08:33PM -0500, Tom Rini wrote:

> We have a number of places in the code which use the following syntax:
> void func(a, b, c)
>     int a; /* Does a */
>     something_t *b; /* Pointer to b */
>     int c; /* Does c */
> {
> ...
> }
> Which while not what we document as our coding style, this is also code
> which we have imported from other projects, and would like to re-sync
> with in the future. While the biggest example of this is the zlib code,
> there are other places as well. For now, we will silence this warning.
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230322/e4a2799c/attachment.sig>

More information about the U-Boot mailing list