refactor: remove `stdnoreturn.h` includes
The `noreturn` macro and `_Noreturn` keywords are deprecated in C23. The
reccommended way to indicate noreturn is now `[[noreturn]]`, which uses
the new C23 attribute syntax.
Change-Id: Ib923fce8bbe97597aa5ed27bb0962a107191022b
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/inc/hf/panic.h b/inc/hf/panic.h
index 8312e54..6fe98a6 100644
--- a/inc/hf/panic.h
+++ b/inc/hf/panic.h
@@ -8,4 +8,4 @@
#pragma once
-__attribute__((__noreturn__)) void panic(const char *fmt, ...);
+[[noreturn]] void panic(const char *fmt, ...);