aboutsummaryrefslogtreecommitdiff
path: root/py/objstrunicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-17 16:44:24 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-17 16:44:24 +0100
commit44e7cbf019344bf3836e106d1ac5333f437479d1 (patch)
tree5074f169995ce57766a99956b44a5abaaa5ef172 /py/objstrunicode.c
parent6f848b6dbaf30eef2a5dd742bddfb8825a1bd882 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c
index 63ca6a8bf..0bb6e045e 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;