]> git.ipfire.org Git - thirdparty/u-boot.git/commit - Makefile
global: Disable deprecated-non-prototype warning with clang
authorTom Rini <trini@konsulko.com>
Mon, 27 Feb 2023 22:08:33 +0000 (17:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 22 Mar 2023 19:22:48 +0000 (15:22 -0400)
commit52ee1a0294e8657fc8d18c1ff20cf2b1a41457ef
treefc2f69cdd0377238cbcc996c297b0da233390106
parent12340b122b354ecca350c0d08ac3d825897bdafa
global: Disable deprecated-non-prototype warning with clang

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@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile