]> sourceware.org Git - newlib-cygwin.git/commit
Fix various v850 problems
authorJeff Law <jeffreyalaw@gmail.com>
Wed, 20 Dec 2023 03:54:37 +0000 (20:54 -0700)
committerJeff Law <jeffreyalaw@gmail.com>
Wed, 20 Dec 2023 03:56:04 +0000 (20:56 -0700)
commitc1a61029fedbad16bfd6978be13d62412bdede49
treed2a2b6d642ca436e36e7158502b51b50057179a3
parent30c469f2e83023b9f77b1771f539006267c632a9
Fix various v850 problems

These fixes fall into a few different buckets.  First c99 doesn't allow a
parameter without a type.  So in cases where the type had previously been an
implicit int, make it an explicit int.  Second, for return values, don't allow
them to be implicit ints either, make them explicit. In a few cases change c89
function definitions to c99 function definitions.   Lastly include <stdlib.h>
in sbrk.c to get the prototype for abort () which we call when we detect a
heap/stack collision.
newlib/libc/sys/sysnecv850/_exit.c
newlib/libc/sys/sysnecv850/getpid.c
newlib/libc/sys/sysnecv850/isatty.c
newlib/libc/sys/sysnecv850/kill.c
newlib/libc/sys/sysnecv850/read.c
newlib/libc/sys/sysnecv850/sbrk.c
This page took 0.03098 seconds and 5 git commands to generate.