summaryrefslogtreecommitdiffstatshomepage
path: root/teensy
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 /teensy
parent272fad6d9c2261d35088866f544797fd77ff51e3 (diff)
downloadmicropython-9b0714b24cb140ea630ea6176ae68b2ec6945c6b.tar.gz
micropython-9b0714b24cb140ea630ea6176ae68b2ec6945c6b.zip
py: Declare help, input, open builtins in core.
These are *defined* per-port, but why redeclare them again and again.
Diffstat (limited to 'teensy')
-rw-r--r--teensy/mpconfigport.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/teensy/mpconfigport.h b/teensy/mpconfigport.h
index 4b2181cdb6..867c4e6527 100644
--- a/teensy/mpconfigport.h
+++ b/teensy/mpconfigport.h
@@ -27,9 +27,6 @@
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (0)
// extra built in names to add to the global namespace
-extern const struct _mp_obj_fun_builtin_t mp_builtin_help_obj;
-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_help), (mp_obj_t)&mp_builtin_help_obj }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \