summaryrefslogtreecommitdiff
path: root/common/panic_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/panic_output.c')
-rw-r--r--common/panic_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/panic_output.c b/common/panic_output.c
index 4bbf9bc230..ffbe1525da 100644
--- a/common/panic_output.c
+++ b/common/panic_output.c
@@ -121,7 +121,7 @@ void panic_reboot(void)
}
/* Complete the processing of a panic, after the initial message is shown */
-static noreturn void complete_panic(int linenum)
+test_mockable_static_noreturn void complete_panic(int linenum)
{
if (IS_ENABLED(CONFIG_SOFTWARE_PANIC))
software_panic(PANIC_SW_ASSERT, linenum);