diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-16 08:17:52 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-26 09:13:19 +0100 |
commit | c52568dcdb66016c522a1698ac87e9b2b239a25a (patch) | |
tree | 24b1dfad621996a3419b97ec4d08d7ca8b65dab9 /cpukit/score/include/rtems/score/basedefs.h | |
parent | basdefs.h: Add RTEMS_PURE (diff) | |
download | rtems-c52568dcdb66016c522a1698ac87e9b2b239a25a.tar.bz2 |
basdefs.h: Add and use RTEMS_DEPRECATED
Diffstat (limited to 'cpukit/score/include/rtems/score/basedefs.h')
-rw-r--r-- | cpukit/score/include/rtems/score/basedefs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 9e6bc0ab26..831a40b672 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/score/include/rtems/score/basedefs.h @@ -184,12 +184,14 @@ * with this attribute will be used. */ #ifdef __GNUC__ - #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE \ - __attribute__ ((deprecated)) + #define RTEMS_DEPRECATED __attribute__((__deprecated__)) #else - #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE + #define RTEMS_DEPRECATED #endif +/* Provided for backward compatibility */ +#define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE RTEMS_DEPRECATED + /** * @brief Instructs the compiler to place a specific variable or function in * the specified section. |