Commit 5a8b8d50 authored by Alessandro Rubini's avatar Alessandro Rubini

lib/libc-functions.c: provide puts (for pp_printf)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent ef77c72f
......@@ -4,6 +4,13 @@
*/
#include <ppsi/lib.h>
/* Architectures declare pp_puts: map puts (used by pp_printf) to it */
int puts(const char *s)
{
pp_puts(s);
return 0;
}
size_t strnlen(const char *s, size_t maxlen)
{
int len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment