summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/fatal.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:15:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commit143696acbdd8740eaa8114c7c307ef4834134454 (patch)
tree1e520c91984f3b806ff00608568a0e2a7113b278 /cpukit/sapi/include/rtems/fatal.h
parentbasedefs.h: Add compiler attributes (diff)
downloadrtems-143696acbdd8740eaa8114c7c307ef4834134454.tar.bz2
basedefs.h: Add and use RTEMS_NO_RETURN
Diffstat (limited to 'cpukit/sapi/include/rtems/fatal.h')
-rw-r--r--cpukit/sapi/include/rtems/fatal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/sapi/include/rtems/fatal.h
index 6e5986aeb6..b4b3b0fe6e 100644
--- a/cpukit/sapi/include/rtems/fatal.h
+++ b/cpukit/sapi/include/rtems/fatal.h
@@ -16,7 +16,7 @@
#ifndef _RTEMS_FATAL_H
#define _RTEMS_FATAL_H
-#include <rtems/score/basedefs.h> /* RTEMS_COMPILER_NO_RETURN_ATTRIBUTE */
+#include <rtems/score/basedefs.h> /* RTEMS_NO_RETURN */
#include <rtems/extension.h>
#ifdef __cplusplus
@@ -70,7 +70,7 @@ static inline void rtems_exception_frame_print(
*/
void rtems_fatal_error_occurred(
uint32_t the_error
-) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+) RTEMS_NO_RETURN;
/**
* @brief Invokes the internal error handler with is internal set to false.
@@ -83,7 +83,7 @@ void rtems_fatal_error_occurred(
void rtems_fatal(
rtems_fatal_source source,
rtems_fatal_code error
-) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+) RTEMS_NO_RETURN;
/**
* @brief Returns a text for a fatal source.