Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syslog/rpmsg_server: fix build break if enable SYSLOG_RPMSG/SYSLOG_RP…
…MSG_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 <[email protected]>
- Loading branch information