From 8ee43e24f3797ed1cd2f9f9f5aafc61cce552eda Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 22 Nov 2015 00:59:24 +0200 Subject: [PATCH] lib/utils/printf: Add extra prototypes. --- lib/utils/printf.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/utils/printf.c b/lib/utils/printf.c index 6dce896941..6822564f35 100644 --- a/lib/utils/printf.c +++ b/lib/utils/printf.c @@ -35,6 +35,13 @@ #include "py/formatfloat.h" #endif +int printf(const char *fmt, ...); +int vprintf(const char *fmt, va_list ap); +int putchar(int c); +int puts(const char *s); +int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); +int snprintf(char *str, size_t size, const char *fmt, ...); + int printf(const char *fmt, ...) { va_list ap; va_start(ap, fmt);