Ignore:
Timestamp:
10/16/15 06:15:03 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
a3ba5b37
Parents:
2423857
git-author:
Sebastian Huber <sebastian.huber@…> (10/16/15 06:15:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/26/15 08:13:19)
Message:

basedefs.h: Add and use RTEMS_NO_RETURN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/basedefs.h

    r2423857 r143696a  
    155155 */
    156156#if defined(RTEMS_SCHEDSIM)
    157   #define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
     157  #define RTEMS_NO_RETURN
    158158#elif defined(__GNUC__)
    159   #define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE \
    160       __attribute__ ((noreturn))
    161 #else
    162   #define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
    163 #endif
     159  #define RTEMS_NO_RETURN __attribute__((__noreturn__))
     160#else
     161  #define RTEMS_NO_RETURN
     162#endif
     163
     164/* Provided for backward compatibility */
     165#define RTEMS_COMPILER_NO_RETURN_ATTRIBUTE RTEMS_NO_RETURN
    164166
    165167/**
Note: See TracChangeset for help on using the changeset viewer.