py: Allow to compile with -Wredundant-decls.

pull/1062/head
Damien George 2015-01-12 22:41:55 +00:00
rodzic abc1959e2c
commit 30d8a82220
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -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