mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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>
|
# include <nuttx/fdt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <nuttx/syslog/syslog_rpmsg.h>
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Private Data
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_SYSLOG_RPMSG
|
#ifdef CONFIG_SYSLOG_RPMSG
|
||||||
static char g_syslog_rpmsg_buf[4096];
|
static char g_syslog_rpmsg_buf[4096];
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user