
On Mon, Feb 27, 2023 at 05:35:30PM -0700, Simon Glass wrote:
Hi Tom,
On Mon, 27 Feb 2023 at 15:08, Tom Rini trini@konsulko.com 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, as we aren't concerned with re-syncing with an upstream.
Signed-off-by: Tom Rini trini@konsulko.com
common/dlmalloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
diff --git a/common/dlmalloc.c b/common/dlmalloc.c index 41c7230424cc..0f9b7262d512 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -80,7 +80,7 @@ GmListElement* makeGmListElement (void* bas) return this; }
-void gcleanup () +void gcleanup (void)
drop space before ( ?
The file is so badly out of sync with our coding style I literally just went and did %s/()$/(void)/ to move on to the next sets of problems. So I'd rather not fix one more style issue here when I suspect there's a barely exaggerated thousand more.