diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-21 13:05:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 07:29:26 +0200 |
commit | 5c370a5df402f9667b59c03e34abac1c9f91e864 (patch) | |
tree | 6558f4914fe79aca3defb7fd9459cde438df478c | |
parent | Make rtems_printf_plugin() static (diff) | |
download | rtems-5c370a5df402f9667b59c03e34abac1c9f91e864.tar.bz2 |
Make rtems_fprintf_plugin() static
-rw-r--r-- | cpukit/include/rtems/bspIo.h | 13 | ||||
-rw-r--r-- | cpukit/libcsupport/src/print_fprintf.c | 2 |
2 files changed, 1 insertions, 14 deletions
diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h index fad4e9dcbc..112dde6126 100644 --- a/cpukit/include/rtems/bspIo.h +++ b/cpukit/include/rtems/bspIo.h @@ -141,19 +141,6 @@ extern void rtems_putc(char c); */ typedef int (*rtems_print_plugin_t)(void *, const char *format, va_list ap); -/** - * @brief Reporting Methods fprintf() Plugin - * - * This is a standard plug-in to support using fprintf() for output - * instead of printk(). - * - * @param[in] context The file stream. - * @param[in] fmt is a printf()-style format string - * - * @return The number of characters printed. - */ -extern int rtems_fprintf_plugin(void *context, const char *fmt, va_list ap); - /**@}*/ #ifdef __cplusplus diff --git a/cpukit/libcsupport/src/print_fprintf.c b/cpukit/libcsupport/src/print_fprintf.c index 757293e4c7..3ff80f7b2e 100644 --- a/cpukit/libcsupport/src/print_fprintf.c +++ b/cpukit/libcsupport/src/print_fprintf.c @@ -22,7 +22,7 @@ #include <stdio.h> -int rtems_fprintf_plugin(void *context, const char *fmt, va_list ap) +static int rtems_fprintf_plugin(void *context, const char *fmt, va_list ap) { return vfprintf(context, fmt, ap); } |