aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-04-15 00:07:56 +0300
committerPaul Sokolovsky2016-04-15 00:07:56 +0300
commit9b0714b24cb140ea630ea6176ae68b2ec6945c6b (patch)
treeb59e3a29d3b864fe4b2d2478e4512b73ada93844 /windows
parent272fad6d9c2261d35088866f544797fd77ff51e3 (diff)
py: Declare help, input, open builtins in core.
These are *defined* per-port, but why redeclare them again and again.
Diffstat (limited to 'windows')
-rw-r--r--windows/mpconfigport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index 203aa0449..51d4697e4 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -149,8 +149,6 @@ void mp_hal_dupterm_tx_strn(const char *str, size_t len);
#define mp_hal_dupterm_tx_strn(s, l)
#endif
-extern const struct _mp_obj_fun_builtin_t mp_builtin_input_obj;
-extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
#define MICROPY_PORT_BUILTINS \
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },