void parameter on functions of arity 0

This commit is contained in:
2026-03-13 17:21:52 +01:00
parent 8026c33639
commit 5c0d02579b
13 changed files with 17 additions and 22 deletions

View File

@@ -20,7 +20,7 @@ void debug_stack_trace(unsigned int max_frames)
{
DEBUG("*** begin stack trace ***");
if (init.terminal) {
printf("\r\n*** begin stack trace ***\r\n");
printf("\r\n\x1b[48;5;232m\x1b[38;5;231m*** begin stack trace ***\r\n");
}
// Thanks GCC :)
uintptr_t* rbp = (uintptr_t*)__builtin_frame_address(0);
@@ -46,7 +46,7 @@ void debug_stack_trace(unsigned int max_frames)
rbp = next_rbp;
}
if (init.terminal) {
printf("*** end stack trace ***");
printf("*** end stack trace ***[0m");
}
DEBUG("*** end stack trace ***");
}