diff options
author | Damien George <damien.p.george@gmail.com> | 2015-05-17 16:44:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-17 16:44:24 +0100 |
commit | 44e7cbf019344bf3836e106d1ac5333f437479d1 (patch) | |
tree | 5074f169995ce57766a99956b44a5abaaa5ef172 /py/objstrunicode.c | |
parent | 6f848b6dbaf30eef2a5dd742bddfb8825a1bd882 (diff) | |
download | micropython-44e7cbf019344bf3836e106d1ac5333f437479d1.tar.gz micropython-44e7cbf019344bf3836e106d1ac5333f437479d1.zip |
py: Clean up declarations of str type/funcs that are also in unicode.
Background: trying to make an amalgamation of all the code gave some
errors with redefined types and inconsistent use of static.
Diffstat (limited to 'py/objstrunicode.c')
-rw-r--r-- | py/objstrunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c index 63ca6a8bf8..0bb6e045ee 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -293,7 +293,7 @@ STATIC const mp_obj_type_t mp_type_str_it = { .iternext = str_it_iternext, }; -mp_obj_t mp_obj_new_str_iterator(mp_obj_t str) { +STATIC mp_obj_t mp_obj_new_str_iterator(mp_obj_t str) { mp_obj_str_it_t *o = m_new_obj(mp_obj_str_it_t); o->base.type = &mp_type_str_it; o->str = str; |