]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the return types for printf and putchar to match their libc and
authorEnji Cooper <ngie@FreeBSD.org>
Thu, 3 Aug 2017 05:27:05 +0000 (05:27 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Thu, 3 Aug 2017 05:27:05 +0000 (05:27 +0000)
commitb9fe1d4f154ba515109a750a018098aeca16cd27
tree875f356998c6b507660cc5f0e211a45ade8623fb
parentacc33f3de9f5ac9e3014e874810643e628bf819c
Fix the return types for printf and putchar to match their libc and
POSIX equivalents

Both printf and putchar return int, not void.

This will allow code that leverages the libcalls and checks/rely on the
return type to interchangeably between loader code and non-loader
code.

MFC after: 1 month
sys/boot/arm/at91/libat91/lib.h
sys/boot/arm/at91/libat91/printf.c
sys/boot/arm/at91/libat91/putchar.c
sys/boot/arm/ixp425/boot2/ixp425_board.c
sys/boot/arm/ixp425/boot2/lib.h
sys/boot/i386/boot2/boot2.c