diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-21 13:28:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 07:29:26 +0200 |
commit | e8020d1914b58c05a1a796b486e5a8fb23abe188 (patch) | |
tree | e3f99db14fc1d4a190f6608ecab83607185d25f2 /testsuites/sptests | |
parent | Make rtems_fprintf_plugin() static (diff) | |
download | rtems-e8020d1914b58c05a1a796b486e5a8fb23abe188.tar.bz2 |
Rename and move RTEMS_PRINTF_ATTRIBUTE()
Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to
<sys/cdefs.h> __printflike()) and move it to <rtems/score/basedefs.h>.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spprintk/init.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/sptests/spprintk/init.c b/testsuites/sptests/spprintk/init.c index 4b45450193..55e132d526 100644 --- a/testsuites/sptests/spprintk/init.c +++ b/testsuites/sptests/spprintk/init.c @@ -13,12 +13,14 @@ #include "config.h" #endif +#include <rtems/score/basedefs.h> + /* - * Undefined the RTEMS_PRINTF_ATTRIBUTE and make it nothing. The test code + * Undefined the RTEMS_PRINTFLIKE and make it nothing. The test code * contained in the file is suppose to be wrong. */ -#undef RTEMS_PRINTF_ATTRIBUTE -#define RTEMS_PRINTF_ATTRIBUTE(_a, _b) +#undef RTEMS_PRINTFLIKE +#define RTEMS_PRINTFLIKE(_a, _b) #define TESTS_USE_PRINTK #include <tmacros.h> |