@@ -300,7 +300,7 @@ typedef struct _mp_obj_fun_native_t {
300300 // TODO add mp_map_t *globals
301301} mp_obj_fun_native_t ;
302302
303- typedef mp_obj_t (* native_fun_0_t )();
303+ typedef mp_obj_t (* native_fun_0_t )(void );
304304typedef mp_obj_t (* native_fun_1_t )(mp_obj_t );
305305typedef mp_obj_t (* native_fun_2_t )(mp_obj_t , mp_obj_t );
306306typedef mp_obj_t (* native_fun_3_t )(mp_obj_t , mp_obj_t , mp_obj_t );
@@ -360,7 +360,7 @@ typedef struct _mp_obj_fun_viper_t {
360360 mp_uint_t type_sig ;
361361} mp_obj_fun_viper_t ;
362362
363- typedef mp_uint_t (* viper_fun_0_t )();
363+ typedef mp_uint_t (* viper_fun_0_t )(void );
364364typedef mp_uint_t (* viper_fun_1_t )(mp_uint_t );
365365typedef mp_uint_t (* viper_fun_2_t )(mp_uint_t , mp_uint_t );
366366typedef mp_uint_t (* viper_fun_3_t )(mp_uint_t , mp_uint_t , mp_uint_t );
@@ -417,7 +417,7 @@ typedef struct _mp_obj_fun_asm_t {
417417 void * fun_data ; // GC must be able to trace this pointer
418418} mp_obj_fun_asm_t ;
419419
420- typedef mp_uint_t (* inline_asm_fun_0_t )();
420+ typedef mp_uint_t (* inline_asm_fun_0_t )(void );
421421typedef mp_uint_t (* inline_asm_fun_1_t )(mp_uint_t );
422422typedef mp_uint_t (* inline_asm_fun_2_t )(mp_uint_t , mp_uint_t );
423423typedef mp_uint_t (* inline_asm_fun_3_t )(mp_uint_t , mp_uint_t , mp_uint_t );
0 commit comments