9da0ac4051
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. |
||
---|---|---|
.. | ||
Makefile.in | ||
crt0.S | ||
crti.c | ||
crtn.c | ||
gensyscalls | ||
irqtable.S | ||
lcrt0.c | ||
linunistd.h | ||
outbyte.c | ||
setup.S |