Skip to content
Snippets Groups Projects
Commit 30d8a822 authored by Damien George's avatar Damien George
Browse files

py: Allow to compile with -Wredundant-decls.

parent abc1959e
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,6 @@ typedef struct _mp_obj_complex_t { ...@@ -48,8 +48,6 @@ typedef struct _mp_obj_complex_t {
mp_float_t imag; mp_float_t imag;
} mp_obj_complex_t; } 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) { 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; mp_obj_complex_t *o = o_in;
#if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT #if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment