anchao opened a new pull request, #15903: URL: https://github.com/apache/nuttx/pull/15903
## Summary syslog/rpmsg_server: fix build break if enable SYSLOG_RPMSG/SYSLOG_RPMSG_SERVER syslog/syslog_rpmsg_server.c:66:13: error: conflicting types for 'syslog_rpmsg_write'; have 'void(const char *, size_t, const char *, size_t)' {aka 'void(const char *, unsigned int, const char *, unsigned int)'} 66 | static void syslog_rpmsg_write(FAR const char *buf1, size_t len1, | ^~~~~~~~~~~~~~~~~~ In file included from syslog/syslog_rpmsg_server.c:36: nuttx/include/nuttx/syslog/syslog_rpmsg.h:51:9: note: previous declaration of 'syslog_rpmsg_write' with type 'ssize_t(const syslog_channel_t *, const char *, size_t)' {aka 'int(const struct syslog_channel_s *, const char *, unsigned int)'} 51 | ssize_t syslog_rpmsg_write(FAR syslog_channel_t *channel, | ^~~~~~~~~~~~~~~~~~ Signed-off-by: chao an <anchao.arc...@bytedance.com> ## Impact N/A ## Testing enable SYSLOG_RPMSG/SYSLOG_RPMSG_SERVER -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org