py: Make functions static where appropriate.

This commit is contained in:
Damien George
2014-12-10 22:07:04 +00:00
parent d51107927d
commit 969a6b37bf
22 changed files with 100 additions and 103 deletions

View File

@@ -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];