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:
Jiuzhu Dong
2021-05-20 21:00:07 +08:00
parent bd10e5716d
commit e318b040f8
+6 -2
View File
@@ -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