summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems
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
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')
-rw-r--r--cpukit/sapi/include/rtems/fatal.h6
-rw-r--r--cpukit/sapi/include/rtems/init.h4
2 files changed, 5 insertions, 5 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.
diff --git a/cpukit/sapi/include/rtems/init.h b/cpukit/sapi/include/rtems/init.h
index 8ddad2600a..ccb6ecd783 100644
--- a/cpukit/sapi/include/rtems/init.h
+++ b/cpukit/sapi/include/rtems/init.h
@@ -86,7 +86,7 @@ void rtems_initialize_device_drivers(void);
* This directive does not return.
*/
void rtems_initialize_start_multitasking(void)
- RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+ RTEMS_NO_RETURN;
/**
* @brief Shutdown the RTEMS environment.
@@ -99,7 +99,7 @@ void rtems_initialize_start_multitasking(void)
*/
void rtems_shutdown_executive(
uint32_t result
-) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+) RTEMS_NO_RETURN;
#ifdef __cplusplus
}