diff options
| author | Kim Kuparinen <kimi.h.kuparinen@gmail.com> | 2026-02-12 21:53:13 +0200 |
|---|---|---|
| committer | Corinna Vinschen <corinna@vinschen.de> | 2026-02-12 21:24:39 +0100 |
| commit | 40740223dbd6ba344ce6f7d4d3ca734daf78103f (patch) | |
| tree | 916435e27c496cbb3d2345d90b448fd3370f263a /newlib/libc/stdlib/eprintf.c | |
| parent | cae4c32e1b7da82e8af6dfa715f4011e504595ac (diff) | |
| download | newlib-github/master.zip newlib-github/master.tar.gz newlib-github/master.tar.bz2 | |
Silence -Wold-style-definition warningsHEADgithub/mastergithub/mainmastermain
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>
Diffstat (limited to 'newlib/libc/stdlib/eprintf.c')
| -rw-r--r-- | newlib/libc/stdlib/eprintf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/stdlib/eprintf.c b/newlib/libc/stdlib/eprintf.c index 46cf810..9e4f5fd 100644 --- a/newlib/libc/stdlib/eprintf.c +++ b/newlib/libc/stdlib/eprintf.c @@ -14,11 +14,7 @@ #include <stdio.h> void -__eprintf (format, file, line, expression) - const char *format; - const char *file; - unsigned int line; - const char *expression; +__eprintf (const char *format, const char *file, unsigned int line, const char *expression) { (void) fiprintf (stderr, format, file, line, expression); abort (); |
