mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
syslog/syslog_channel: fix compile warning
N/A
syslog/syslog_channel.c: In function ‘syslog_default_putc’:
syslog/syslog_channel.c:139:10: warning: implicit declaration of function ‘up_putc’ [-Wimplicit-function-declaration]
139 | return up_putc(ch);
| ^~~~~~~
Change-Id: I30f607c000fefc6a1189397e6ae2320c562a67ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
@@ -33,9 +33,13 @@
|
||||
|
||||
#ifdef CONFIG_RAMLOG_SYSLOG
|
||||
# include <nuttx/syslog/ramlog.h>
|
||||
#elif defined(CONFIG_SYSLOG_RPMSG)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYSLOG_RPMSG
|
||||
# include <nuttx/syslog/syslog_rpmsg.h>
|
||||
#elif defined(CONFIG_ARCH_LOWPUTC)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_LOWPUTC
|
||||
# include <nuttx/arch.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user