This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new e14d516e0e2 drivers/syslog: drop the unused syslog_stream_force
prototype
e14d516e0e2 is described below
commit e14d516e0e2e2a828a2d8a970989318d4d577c62
Author: anjiahao <[email protected]>
AuthorDate: Wed Nov 4 14:41:45 2026 +0800
drivers/syslog: drop the unused syslog_stream_force prototype
The definition of syslog_stream_force() no longer exists, so the
forward declaration is dead code. Remove it.
Signed-off-by: anjiahao <[email protected]>
---
drivers/syslog/syslog_stream.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/syslog/syslog_stream.c b/drivers/syslog/syslog_stream.c
index 51c8985a96a..bde4be43c70 100644
--- a/drivers/syslog/syslog_stream.c
+++ b/drivers/syslog/syslog_stream.c
@@ -54,7 +54,6 @@ struct syslog_stream_s
static ssize_t syslog_stream_write(FAR syslog_channel_t *channel,
FAR const char *buffer, size_t buflen);
static int syslog_stream_putc(FAR syslog_channel_t *channel, int ch);
-static int syslog_stream_force(FAR syslog_channel_t *channel, int ch);
static int syslog_stream_flush(FAR syslog_channel_t *channel);
void syslog_stream_uninit(FAR syslog_channel_t *channel);