summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 01:59:06 +0700
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 04:54:34 +0700
commit868e372a73b377705217e0379bc6e00f36c4d8e5 (patch)
treeb1d00d5abc7401baac8b41fb4893bd75dbedd2f7 /os/log.c
parent5a8e2f2745ae1f74501cd3f42614a1ed2cf974f2 (diff)
Introduce X_NORETURN macro defined as __attribute__((noreturn)) for gcc
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/os/log.c b/os/log.c
index ff78545e1..078165985 100644
--- a/os/log.c
+++ b/os/log.c
@@ -402,9 +402,8 @@ LogMessage(MessageType type, const char *format, ...)
va_end(ap);
}
-#ifdef __GNUC__
-void AbortServer(void) __attribute__((noreturn));
-#endif
+void
+AbortServer(void) X_NORETURN;
void
AbortServer(void)