diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-10 22:07:04 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-10 22:08:14 +0000 |
commit | 969a6b37bfc655609e540053c2bdcce8a6fdc64d (patch) | |
tree | 5e7d74f72d702efd07ff6ba6d93d3a10e4e00fd2 /py/objclosure.c | |
parent | d51107927d53a80835195ba1ac97048c203f05f2 (diff) | |
download | micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.tar.gz micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.zip |
py: Make functions static where appropriate.
Diffstat (limited to 'py/objclosure.c')
-rw-r--r-- | py/objclosure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objclosure.c b/py/objclosure.c index 16133c127b..d563206b62 100644 --- a/py/objclosure.c +++ b/py/objclosure.c @@ -41,7 +41,7 @@ typedef struct _mp_obj_closure_t { mp_obj_t closed[]; } mp_obj_closure_t; -mp_obj_t closure_call(mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { +STATIC mp_obj_t closure_call(mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { mp_obj_closure_t *self = self_in; // need to concatenate closed-over-vars and args |