From 868e372a73b377705217e0379bc6e00f36c4d8e5 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Thu, 13 May 2010 01:59:06 +0700 Subject: Introduce X_NORETURN macro defined as __attribute__((noreturn)) for gcc Signed-off-by: Mikhail Gusarov Reviewed-by: Matt Turner --- include/os.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/os.h') diff --git a/include/os.h b/include/os.h index 7f358eeaf..82d6694c2 100644 --- a/include/os.h +++ b/include/os.h @@ -547,10 +547,7 @@ extern _X_EXPORT void FreeAuditTimer(void); extern _X_EXPORT void AuditF(const char *f, ...) _printf_attribute(1,2); extern _X_EXPORT void VAuditF(const char *f, va_list args); extern _X_EXPORT void FatalError(const char *f, ...) _printf_attribute(1,2) -#if defined(__GNUC__) && (__GNUC__ > 2) -__attribute((noreturn)) -#endif -; + X_NORETURN; #ifdef DEBUG #define DebugF ErrorF -- cgit v1.2.3