From 143696acbdd8740eaa8114c7c307ef4834134454 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Oct 2015 08:15:03 +0200 Subject: basedefs.h: Add and use RTEMS_NO_RETURN --- cpukit/sapi/include/rtems/fatal.h | 6 +++--- cpukit/sapi/include/rtems/init.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/sapi/include/rtems') 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_COMPILER_NO_RETURN_ATTRIBUTE */ +#include /* RTEMS_NO_RETURN */ #include #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 } -- cgit v1.2.3