summaryrefslogtreecommitdiffstatshomepage
path: root/py/objclosure.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-12-10 22:07:04 +0000
committerDamien George <damien.p.george@gmail.com>2014-12-10 22:08:14 +0000
commit969a6b37bfc655609e540053c2bdcce8a6fdc64d (patch)
tree5e7d74f72d702efd07ff6ba6d93d3a10e4e00fd2 /py/objclosure.c
parentd51107927d53a80835195ba1ac97048c203f05f2 (diff)
downloadmicropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.tar.gz
micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.zip
py: Make functions static where appropriate.
Diffstat (limited to 'py/objclosure.c')
-rw-r--r--py/objclosure.c2
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