From e8020d1914b58c05a1a796b486e5a8fb23abe188 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 21 Jun 2016 13:28:01 +0200 Subject: Rename and move RTEMS_PRINTF_ATTRIBUTE() Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to __printflike()) and move it to . --- testsuites/sptests/spprintk/init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testsuites/sptests') 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 + /* - * 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 -- cgit v1.2.3