summaryrefslogtreecommitdiffstatshomepage
path: root/py/objlist.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/objlist.c
parentd51107927d53a80835195ba1ac97048c203f05f2 (diff)
downloadmicropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.tar.gz
micropython-969a6b37bfc655609e540053c2bdcce8a6fdc64d.zip
py: Make functions static where appropriate.
Diffstat (limited to 'py/objlist.c')
-rw-r--r--py/objlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objlist.c b/py/objlist.c
index 1531b6be95..3e5355719e 100644
--- a/py/objlist.c
+++ b/py/objlist.c
@@ -497,7 +497,7 @@ typedef struct _mp_obj_list_it_t {
mp_uint_t cur;
} mp_obj_list_it_t;
-mp_obj_t list_it_iternext(mp_obj_t self_in) {
+STATIC mp_obj_t list_it_iternext(mp_obj_t self_in) {
mp_obj_list_it_t *self = self_in;
if (self->cur < self->list->len) {
mp_obj_t o_out = self->list->items[self->cur];