summaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 00:07:56 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-15 00:07:56 +0300
commit9b0714b24cb140ea630ea6176ae68b2ec6945c6b (patch)
treeb59e3a29d3b864fe4b2d2478e4512b73ada93844 /unix
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 'unix')
-rw-r--r--unix/mpconfigport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 28a7e8b76..abda43258 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -259,8 +259,6 @@ void mp_unix_mark_exec(void);
#endif
#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_ROM_QSTR(MP_QSTR_input), MP_ROM_PTR(&mp_builtin_input_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },