Re: [PATCH] Silence -Wold-style-definition warnings

Corinna Vinschen <[email protected]> Thu, 12 Feb 2026 21:39:33 +0100
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Feb 12 21:53, Kimplul wrote:
> From: Kim Kuparinen <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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