diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-15 00:07:56 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-15 00:07:56 +0300 |
commit | 9b0714b24cb140ea630ea6176ae68b2ec6945c6b (patch) | |
tree | b59e3a29d3b864fe4b2d2478e4512b73ada93844 /teensy | |
parent | 272fad6d9c2261d35088866f544797fd77ff51e3 (diff) | |
download | micropython-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.h | 3 |
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 }, \ |