[PATCH] Silence -Wold-style-definition warnings
Corinna Vinschen
vinschen@redhat.com
Thu Feb 12 20:39:33 GMT 2026
On Feb 12 21:53, Kimplul wrote:
> From: Kim Kuparinen <kimi.h.kuparinen@gmail.com>
>
> Hi, I noticed that there were a few warnings about old-style function
> definitions. I saw some other patches fixing the same warning, so this just
> continues on from them. Now everything compiles neatly on my machine at least :)
>
> Signed-off-by: Kim Kuparinen <kimi.h.kuparinen@gmail.com>
> ---
> newlib/libc/reent/closer.c | 4 +---
> newlib/libc/reent/fstatr.c | 5 +----
> newlib/libc/reent/isattyr.c | 4 +---
> newlib/libc/stdlib/envlock.c | 6 ++----
> newlib/libc/stdlib/eprintf.c | 6 +-----
> newlib/libc/stdlib/getsubopt.c | 4 +---
> newlib/libc/stdlib/mlock.c | 6 ++----
> newlib/libm/math/w_drem.c | 3 +--
> 8 files changed, 10 insertions(+), 28 deletions(-)
Pushed.
Thanks,
Corinna
More information about the Newlib
mailing list