"Das U-Boot" Source Tree

dlmalloc: 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, as we aren't
concerned with re-syncing with an upstream.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Tom Rini f88d48cc 52ee1a02

+4 -4
+4 -4
common/dlmalloc.c
··· 80 80 return this; 81 81 } 82 82 83 - void gcleanup () 83 + void gcleanup (void) 84 84 { 85 85 BOOL rval; 86 86 assert ( (head == NULL) || (head->base == (void*)gAddressBase)); ··· 2340 2340 /* Utility to update current_mallinfo for malloc_stats and mallinfo() */ 2341 2341 2342 2342 #ifdef DEBUG 2343 - static void malloc_update_mallinfo() 2343 + static void malloc_update_mallinfo(void) 2344 2344 { 2345 2345 int i; 2346 2346 mbinptr b; ··· 2397 2397 */ 2398 2398 2399 2399 #ifdef DEBUG 2400 - void malloc_stats() 2400 + void malloc_stats(void) 2401 2401 { 2402 2402 malloc_update_mallinfo(); 2403 2403 printf("max system bytes = %10u\n", ··· 2418 2418 */ 2419 2419 2420 2420 #ifdef DEBUG 2421 - struct mallinfo mALLINFo() 2421 + struct mallinfo mALLINFo(void) 2422 2422 { 2423 2423 malloc_update_mallinfo(); 2424 2424 return current_mallinfo;