summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/print.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-21 13:28:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 07:29:26 +0200
commite8020d1914b58c05a1a796b486e5a8fb23abe188 (patch)
treee3f99db14fc1d4a190f6608ecab83607185d25f2 /cpukit/include/rtems/print.h
parentMake rtems_fprintf_plugin() static (diff)
downloadrtems-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 'cpukit/include/rtems/print.h')
-rw-r--r--cpukit/include/rtems/print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/print.h b/cpukit/include/rtems/print.h
index 91c45150a6..c4dacceccf 100644
--- a/cpukit/include/rtems/print.h
+++ b/cpukit/include/rtems/print.h
@@ -68,7 +68,7 @@ static inline bool rtems_print_printer_valid(const rtems_printer *printer)
*/
extern int rtems_printf(const rtems_printer *printer,
const char *format,
- ...) RTEMS_PRINTF_ATTRIBUTE(2, 3);
+ ...) RTEMS_PRINTFLIKE(2, 3);
/**
* @brief Print to the kernel plugin handler. This has to be a macro because