summaryrefslogtreecommitdiffstatshomepage
path: root/py/pfenv.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-12 22:30:49 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-12 22:30:49 +0000
commitcd3420740909b3b6a2140b613b591b7556b417a2 (patch)
tree767cea7dc4f378781da48d90fe0952c74979ac63 /py/pfenv.h
parent3dd1c0a88aadb2fef210375709a32b6fdf88d3a7 (diff)
downloadmicropython-cd3420740909b3b6a2140b613b591b7556b417a2.tar.gz
micropython-cd3420740909b3b6a2140b613b591b7556b417a2.zip
py: Can compile with -Wmissing-declarations and -Wmissing-prototypes.
Diffstat (limited to 'py/pfenv.h')
-rw-r--r--py/pfenv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/pfenv.h b/py/pfenv.h
index 074c0012f8..01258f8202 100644
--- a/py/pfenv.h
+++ b/py/pfenv.h
@@ -26,6 +26,8 @@
#ifndef __MICROPY_INCLUDED_PY_PFENV_H__
#define __MICROPY_INCLUDED_PY_PFENV_H__
+#include <stdarg.h>
+
#include "py/obj.h"
#define PF_FLAG_LEFT_ADJUST (0x001)
@@ -54,7 +56,7 @@ int pfenv_print_mp_int(const pfenv_t *pfenv, mp_obj_t x, int sgn, int base, int
int pfenv_print_float(const pfenv_t *pfenv, mp_float_t f, char fmt, int flags, char fill, int width, int prec);
#endif
-//int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args);
+int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args);
int pfenv_printf(const pfenv_t *pfenv, const char *fmt, ...);
// Wrapper for system printf