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/objstringio.c | |
parent | d51107927d53a80835195ba1ac97048c203f05f2 (diff) | |
download | micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.tar.gz micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.zip |
py: Make functions static where appropriate.
Diffstat (limited to 'py/objstringio.c')
-rw-r--r-- | py/objstringio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstringio.c b/py/objstringio.c index d3673d1f96..e5abc0526f 100644 --- a/py/objstringio.c +++ b/py/objstringio.c @@ -95,7 +95,7 @@ STATIC mp_obj_t stringio_close(mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(stringio_close_obj, stringio_close); -mp_obj_t stringio___exit__(mp_uint_t n_args, const mp_obj_t *args) { +STATIC mp_obj_t stringio___exit__(mp_uint_t n_args, const mp_obj_t *args) { return stringio_close(args[0]); } STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(stringio___exit___obj, 4, 4, stringio___exit__); |