diff --git a/ChangeLog b/ChangeLog index 5a9c1e36254..f7e99fbe706 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9679,3 +9679,9 @@ * arch/arm/src/stm32/stm32_spi.c: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David Sidrane (2015-02-07). + * drivers/syslog/syslog_console.c, include/nuttx/syslog/syslog_console.h, + and the console device initialization logic for all architectures: Add + an option to use the syslog'ing device as the system consolution. This + option enables a low-level, write-only console device at /dev/console + (similar to the low-level UART console device). From Pierre-noel + Bouteville (2015-02-08). diff --git a/include/nuttx/syslog/syslog_console.h b/include/nuttx/syslog/syslog_console.h index dc2ccab1b44..14d13f50e2f 100644 --- a/include/nuttx/syslog/syslog_console.h +++ b/include/nuttx/syslog/syslog_console.h @@ -55,7 +55,6 @@ * is useful, for example, if the only console is a Telnet console. Then * in that case, console output from non-Telnet threads will go to the * syslog_putc output. - * */ #ifndef CONFIG_DEV_CONSOLE @@ -70,7 +69,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif @@ -89,7 +89,7 @@ extern "C" { ****************************************************************************/ #ifdef CONFIG_SYSLOG_CONSOLE -EXTERN int syslog_console_init(void); +int syslog_console_init(void); #endif #undef EXTERN