Skip to content

Commit 8ee43e2

Browse files
committed
lib/utils/printf: Add extra prototypes.
1 parent c3280d8 commit 8ee43e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/utils/printf.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
#include "py/formatfloat.h"
3636
#endif
3737

38+
int printf(const char *fmt, ...);
39+
int vprintf(const char *fmt, va_list ap);
40+
int putchar(int c);
41+
int puts(const char *s);
42+
int vsnprintf(char *str, size_t size, const char *fmt, va_list ap);
43+
int snprintf(char *str, size_t size, const char *fmt, ...);
44+
3845
int printf(const char *fmt, ...) {
3946
va_list ap;
4047
va_start(ap, fmt);

0 commit comments

Comments
 (0)