mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 06:03:12 +00: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:
parent
9e76bc610f
commit
a952e9ca78
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue