--- cpukit/score/include/rtems/score/basedefs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 5575a06..9e6bc0a 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/score/include/rtems/score/basedefs.h @@ -171,12 +171,14 @@ * variables. */ #ifdef __GNUC__ - #define RTEMS_COMPILER_PURE_ATTRIBUTE \ - __attribute__ ((pure)) + #define RTEMS_PURE __attribute__((__pure__)) #else - #define RTEMS_COMPILER_PURE_ATTRIBUTE + #define RTEMS_PURE #endif +/* Provided for backward compatibility */ +#define RTEMS_COMPILER_PURE_ATTRIBUTE RTEMS_PURE + /** * Instructs the compiler to issue a warning whenever a variable or function * with this attribute will be used. -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel