mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
arm/qemu_boot: fix the rpmsg syslog init warning
chip/qemu_boot.c:84:3: warning: implicit declaration of function 'syslog_rpmsg_init_early' [-Wimplicit-function-declaration]
84 | syslog_rpmsg_init_early(g_syslog_rpmsg_buf, sizeof(g_syslog_rpmsg_buf));
| ^~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -36,6 +36,12 @@
|
||||
# include <nuttx/fdt.h>
|
||||
#endif
|
||||
|
||||
#include <nuttx/syslog/syslog_rpmsg.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SYSLOG_RPMSG
|
||||
static char g_syslog_rpmsg_buf[4096];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user