From 628f717ec2fbc9c0b59fd747df5b0e2d4e75a5ac Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Nov 2006 22:07:32 +0000 Subject: 2006-11-13 Samuel Thibault * i386/i386at/iopl.c (ioplmmap): Add `int' return type. * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to declaration. * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to declaration. (Debugger): Add call to panic(). * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration. --- kern/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/debug.h') diff --git a/kern/debug.h b/kern/debug.h index 28e7b73f..62be7fcf 100644 --- a/kern/debug.h +++ b/kern/debug.h @@ -58,6 +58,6 @@ #endif /* NDEBUG */ extern void panic_init(); -extern void panic (const char *s, ...); +extern void panic (const char *s, ...) __attribute__ ((noreturn)); #endif /* _mach_debug__debug_ */ -- cgit v1.2.3