From 9b0714b24cb140ea630ea6176ae68b2ec6945c6b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 15 Apr 2016 00:07:56 +0300 Subject: py: Declare help, input, open builtins in core. These are *defined* per-port, but why redeclare them again and again. --- windows/mpconfigport.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'windows') 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 }, -- cgit v1.2.3