• Alessandro Rubini's avatar
    uart: fix return value and add puts with a standard prototype · 141752e4
    Alessandro Rubini authored
    We include newlib headers (and link part of newlib), so any
    locally-defined function must have the same prototype as standard
    ones. We'll soon nee a "puts" implementation for pp_printf, so this
    adds puts as an alias of uart_write_string (at no size cost) and makes
    uart_write_string itself return integer (this costs a few bytes).
    
    While I'm at it, change uart_write_byte to be slightly faster.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    141752e4
Name
Last commit
Last update
arch/lm32 Loading commit data...
boards Loading commit data...
configs Loading commit data...
dev Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
monitor Loading commit data...
pp_printf Loading commit data...
ptp-noposix @ 303c8360
scripts Loading commit data...
shell Loading commit data...
sockitowm Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
revision.c Loading commit data...
wrc_main.c Loading commit data...
wrc_ptp.c Loading commit data...
wrc_ptp.h Loading commit data...