Re: [PATCH] libc: sh: add missing prototypes and change functions from K&R to ANSI
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Jun 24 19:08, Pietro Monteiro wrote: > The SuperH target doesn't build on GCC 14.1 because of missing > function prototypes or because some function declarations use the > deprecated K&R style. This patch adds missing prototypes on the files > the functions are used and convert K&R declarations to ANSI-style. > > Signed-off-by: Pietro Monteiro <[email protected]> > --- > newlib/libc/sys/sh/creat.c | 7 +++--- > newlib/libc/sys/sh/ftruncate.c | 2 ++ > newlib/libc/sys/sh/syscalls.c | 40 +++++++++++++++++++++------------- > newlib/libc/sys/sh/truncate.c | 2 ++ > 4 files changed, 33 insertions(+), 18 deletions(-) Pushed. Thanks, Corinna