Make rtems_fprintf_plugin() static

This commit is contained in:
Sebastian Huber
2016-06-22 07:29:26 +02:00
parent 1ce8fc32c3
commit 5c370a5df4
2 changed files with 1 additions and 14 deletions
-13
View File
@@ -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
+1 -1
View File
@@ -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);
}