4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-09 02:29:07 +08:00
Hans-Peter Nilsson 9da0ac4051 libgloss: cris: Correct lcrt0.c for C23
GCC commit r15-5326-gf242f79b8afe defaults to -std=gnu23, and in C23
void foo() means void foo(void), so old-style prototypes now get a
compilation error:

/x/libgloss/cris/lcrt0.c:107:1: error: conflicting types for 'start1';\
 have 'void(int,  char **, char **)'
  107 | start1 (int argc, char **argv, char **env)
      | ^~~~~~
/x/libgloss/cris/lcrt0.c:105:13: note: previous declaration of 'start1\
' with type 'void(void)'
  105 | static void start1 () __asm__ ("__start1") __attribute ((__use\
d__));

Fix by providing a full prototype.
2024-11-18 01:02:09 +01:00
..
2023-12-18 21:29:51 -07:00
2024-01-03 00:14:42 -05:00
2023-12-21 12:43:27 -07:00
2024-01-03 00:14:42 -05:00
2024-01-23 09:49:02 +01:00
2022-02-25 23:07:20 -05:00
2018-01-17 11:47:26 -06:00
2024-01-03 00:14:42 -05:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2024-01-24 17:15:35 -05:00
2018-01-17 11:47:26 -06:00
2018-01-17 11:47:26 -06:00
2024-05-06 19:17:13 -04:00
2018-01-17 11:47:26 -06:00
2024-05-06 19:17:13 -04:00

Libgloss is a library for all the details that usually get glossed over.
This library refers to things like startup code, and usually I/O support
for GCC and the C library.

For more details, see the manual under doc/.