mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:29:11 +08:00
Make rtems_fprintf_plugin() static
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user