From: John Hodge Date: Tue, 8 Oct 2013 15:14:01 +0000 (+0800) Subject: Kernel - Added NORETURN to Panic X-Git-Tag: rel0.15~122 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=6cec03a9241ec39dec9347d1dcf634c393b33f20;p=tpg%2Facess2.git Kernel - Added NORETURN to Panic --- diff --git a/KernelLand/Kernel/include/logdebug.h b/KernelLand/Kernel/include/logdebug.h index 4e975fb9..340dda9b 100644 --- a/KernelLand/Kernel/include/logdebug.h +++ b/KernelLand/Kernel/include/logdebug.h @@ -32,7 +32,7 @@ extern void Log_Debug(const char *Ident, const char *Message, ...); * \{ */ extern void Debug_KernelPanic(void); //!< Initiate a kernel panic -extern void Panic(const char *Msg, ...); //!< Print a panic message (initiates a kernel panic) +extern void Panic(const char *Msg, ...) NORETURN; //!< Print a panic message (initiates a kernel panic) extern void Warning(const char *Msg, ...); //!< Print a warning message extern void LogF(const char *Fmt, ...); //!< Print a log message without a trailing newline extern void LogFV(const char *Fmt, va_list Args); //!< va_list non-newline log message