aboutsummaryrefslogtreecommitdiff
path: root/include/aout/reloc.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2024-11-17 04:31:42 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2024-11-18 01:02:09 +0100
commit9da0ac405163466bafc404e2335ae7f23309c311 (patch)
treeefb47c63f9863f16efebd1d6c153bb497ea96ad0 /include/aout/reloc.h
parent1e8c92e21d386d2e4a29fa92e8258979ff19ae6b (diff)
downloadnewlib-main.zip
newlib-main.tar.gz
newlib-main.tar.bz2
libgloss: cris: Correct lcrt0.c for C23HEADgithub/mastergithub/mainmastermain
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.
Diffstat (limited to 'include/aout/reloc.h')
0 files changed, 0 insertions, 0 deletions