Skip to content

Commit 30d8a82

Browse files
committed
py: Allow to compile with -Wredundant-decls.
1 parent abc1959 commit 30d8a82

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

py/objcomplex.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ typedef struct _mp_obj_complex_t {
4848
mp_float_t imag;
4949
} mp_obj_complex_t;
5050

51-
mp_obj_t mp_obj_new_complex(mp_float_t real, mp_float_t imag);
52-
5351
STATIC void complex_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind) {
5452
mp_obj_complex_t *o = o_in;
5553
#if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT

0 commit comments

Comments
 (0)