fix(build): remove compilation warning
This change removes dependency with system headers,
resolves compilation warning due to C11 extensions.
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: I6b88ae76e13bdebd36c60802905e504de632245c
diff --git a/inc/hf/panic.h b/inc/hf/panic.h
index ec864e4..8312e54 100644
--- a/inc/hf/panic.h
+++ b/inc/hf/panic.h
@@ -8,6 +8,4 @@
#pragma once
-#include <stdnoreturn.h>
-
-noreturn void panic(const char *fmt, ...);
+__attribute__((__noreturn__)) void panic(const char *fmt, ...);