Changeset 97fd93c in rtems


Ignore:
Timestamp:
Jun 21, 2016, 11:03:56 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1ce8fc3
Parents:
91043bf
git-author:
Sebastian Huber <sebastian.huber@…> (06/21/16 11:03:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/22/16 05:29:25)
Message:

Make printk_plugin() static

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/bspIo.h

    r91043bf r97fd93c  
    143143
    144144/**
    145  * @brief Reporting Methods printk() Plugin
    146  *
    147  * @param[in] context Unused.
    148  * @param[in] fmt is a printf()-style format string
    149  *
    150  * @return The number of characters printed.
    151  */
    152 extern int printk_plugin(void *context, const char *fmt, va_list ap);
    153 
    154 /**
    155145 * @brief Reporting Methods printf() Plugin
    156146 *
  • cpukit/libcsupport/src/printk_plugin.c

    r91043bf r97fd93c  
    1919#endif
    2020
    21 #include <stdarg.h>
    2221#include <rtems/print.h>
    2322
    24 void rtems_print_printer_printk(
    25   rtems_printer *printer
    26 )
    27 {
    28   printer->context = NULL;
    29   printer->printer = printk_plugin;
    30 }
    31 
    32 int printk_plugin(
     23static int printk_plugin(
    3324  void *ignored,
    3425  const char *format,
     
    4031  return 0;
    4132}
     33
     34void rtems_print_printer_printk(
     35  rtems_printer *printer
     36)
     37{
     38  printer->context = NULL;
     39  printer->printer = printk_plugin;
     40}
Note: See TracChangeset for help on using the changeset viewer.