1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-08 22:40:59 +00:00

build: emulator darwin fixes

[no changelog]
This commit is contained in:
Martin Milata 2023-06-05 22:47:18 +02:00
parent a2f8cb9d1c
commit e928568339
2 changed files with 2 additions and 1 deletions

View File

@ -343,6 +343,7 @@ void dump_closure(FILE *out, const mp_obj_closure_t *closure) {
size += find_allocated_size(closure->closed[i]);
assert(mp_obj_is_type(closure->closed[i], &mp_type_cell));
}
(void)size;
print_type(out, "closure", NULL, closure, false);
fprintf(out, ",\n\"function\": \"%p\"", closure->fun);

View File

@ -31,7 +31,7 @@
#endif
#include "memzero.h"
extern void main_clean_exit();
extern void main_clean_exit(int);
extern float display_gamma(float);
void __attribute__((noreturn)) trezor_shutdown(void) {