mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00: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:
parent
bd10e5716d
commit
e318b040f8
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue