lib/utils/printf: Add extra prototypes.

This commit is contained in:
Paul Sokolovsky 2015-11-22 00:59:24 +02:00
parent c3280d83e7
commit 8ee43e24f3
1 changed files with 7 additions and 0 deletions

View File

@ -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);