Commit 8ee43e24 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

lib/utils/printf: Add extra prototypes.

parent c3280d83
...@@ -35,6 +35,13 @@ ...@@ -35,6 +35,13 @@
#include "py/formatfloat.h" #include "py/formatfloat.h"
#endif #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, ...) { int printf(const char *fmt, ...) {
va_list ap; va_list ap;
va_start(ap, fmt); va_start(ap, fmt);
......
Supports Markdown
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