diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-07 18:27:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-07 18:27:19 +0200 |
commit | b97bc8bc71a6dac6dafc2afe7c4cbe2085fa2d55 (patch) | |
tree | 214363b3119d883de81534c8c156d5a06c1d5c76 /testsuites/support/include | |
parent | rtems: Fix ASR SMP support (diff) | |
download | rtems-b97bc8bc71a6dac6dafc2afe7c4cbe2085fa2d55.tar.bz2 |
tests: Add locked_printf_plugin()
Add locked_vprintf(). Return an int just like printf(), etc.
Diffstat (limited to 'testsuites/support/include')
-rw-r--r-- | testsuites/support/include/test_support.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/testsuites/support/include/test_support.h b/testsuites/support/include/test_support.h index 1950388bc1..7c459ff1d9 100644 --- a/testsuites/support/include/test_support.h +++ b/testsuites/support/include/test_support.h @@ -10,6 +10,8 @@ #ifndef __TEST_SUPPORT_h #define __TEST_SUPPORT_h +#include <stdarg.h> + #ifdef __cplusplus extern "C" { #endif @@ -65,9 +67,16 @@ void rtems_time_test_measure_operation( /************** TEST SUPPORT **************/ /*********************************************************************/ /*********************************************************************/ -extern void locked_print_initialize(void); -extern void locked_printf(const char *fmt, ...); -extern void locked_printk(const char *fmt, ...); + +void locked_print_initialize(void); + +int locked_printf(const char *fmt, ...); + +int locked_vprintf(const char *fmt, va_list ap); + +int locked_printf_plugin(void *context, const char *fmt, ...); + +void locked_printk(const char *fmt, ...); #ifdef __cplusplus }; |