diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:41:55 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-12 22:41:55 +0000 |
commit | 30d8a82220d8dd9b3b75f7476efcbe27336cf47b (patch) | |
tree | 68f74ffdd52cf990194a7b274782f6d1835038b2 /py/objcomplex.c | |
parent | abc1959e2c8170cc37d2e1fa1654f1266479d666 (diff) | |
download | micropython-30d8a82220d8dd9b3b75f7476efcbe27336cf47b.tar.gz micropython-30d8a82220d8dd9b3b75f7476efcbe27336cf47b.zip |
py: Allow to compile with -Wredundant-decls.
Diffstat (limited to 'py/objcomplex.c')
-rw-r--r-- | py/objcomplex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/py/objcomplex.c b/py/objcomplex.c index 9e158fac69..3af98e4b21 100644 --- a/py/objcomplex.c +++ b/py/objcomplex.c @@ -48,8 +48,6 @@ typedef struct _mp_obj_complex_t { mp_float_t imag; } mp_obj_complex_t; -mp_obj_t mp_obj_new_complex(mp_float_t real, mp_float_t imag); - STATIC void complex_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) { mp_obj_complex_t *o = o_in; #if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT |