There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel()

This commit is contained in:
Gregory Nutt
2016-06-19 13:03:20 -06:00
parent d82942cf3b
commit 9434d3e945
12 changed files with 386 additions and 116 deletions
+4 -4
View File
@@ -47,13 +47,13 @@
#if defined(CONFIG_ARCH_LOWPUTC) || defined(CONFIG_SYSLOG)
/* The low-level SYSLOG functions can be used only if we have access to
* either the low-level serial interface, up_putc(), and to syslog_putc()
* either the low-level serial interface, up_putc().
*/
#if defined(CONFIG_BUILD_FLAT) || defined (__KERNEL__)
/* The low-level serial interface, up_putc(), and syslog_putc() are only
* available in the FLAT build or during the kernel pass of the protected or
* kernel two pass builds.
/* The low-level serial interface, up_putc(), is only available in the FLAT
* build or during the kernel pass of the protected or kernel two pass
* builds.
*/
/****************************************************************************