diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 00:59:24 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 00:59:24 +0200 |
commit | 8ee43e24f3797ed1cd2f9f9f5aafc61cce552eda (patch) | |
tree | 581dc8e2b10756b5bbb9ac49fd3f0e623d96bd0c /lib | |
parent | c3280d83e70b531193b1577f0160559d607d922e (diff) | |
download | micropython-8ee43e24f3797ed1cd2f9f9f5aafc61cce552eda.tar.gz micropython-8ee43e24f3797ed1cd2f9f9f5aafc61cce552eda.zip |
lib/utils/printf: Add extra prototypes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/printf.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); |