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/objslice.c | |
parent | d51107927d53a80835195ba1ac97048c203f05f2 (diff) |
py: Make functions static where appropriate.
Diffstat (limited to 'py/objslice.c')
-rw-r--r-- | py/objslice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objslice.c b/py/objslice.c index 6324c0e49..c99b9d08d 100644 --- a/py/objslice.c +++ b/py/objslice.c @@ -41,7 +41,7 @@ typedef struct _mp_obj_ellipsis_t { mp_obj_base_t base; } mp_obj_ellipsis_t; -void ellipsis_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) { +STATIC void ellipsis_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) { print(env, "Ellipsis"); } @@ -67,7 +67,7 @@ typedef struct _mp_obj_slice_t { mp_obj_t step; } mp_obj_slice_t; -void slice_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { +STATIC void slice_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { mp_obj_slice_t *o = o_in; print(env, "slice("); mp_obj_print_helper(print, env, o->start, PRINT_REPR); |