]> sourceware.org Git - newlib-cygwin.git/commit
libgloss fix for bfin port
authorJeff Law <jeffreyalaw@gmail.com>
Tue, 19 Dec 2023 04:29:12 +0000 (21:29 -0700)
committerJeff Law <jeffreyalaw@gmail.com>
Tue, 19 Dec 2023 04:29:51 +0000 (21:29 -0700)
commitc2c9f05a0542a0b299edacc916191ed051bf4f1e
tree58a25d011c7531f2e23ceb91f36e81889620e1c5
parent57e311e0deb23492edc94518c78cc57a224dbad9
libgloss fix for bfin port

gcc-14 will complain loudly both for calling a function without an in-scope
prototype or when the in scope prototype differs from the known signature.

"main" happens to be one of the functions the compiler knows about.  So not
only do we need to prototype it, we need to make sure the prototype matches
what GCC thinks it should be.

This fixes the bfin libgloss port to do the right thing for bfin-elf.
libgloss/bfin/syscalls.c
This page took 0.031435 seconds and 5 git commands to generate.