libc/stream: Rename [lib_stream_](put|get) to [lib_stream_](putc|getc)

to make the naming style consistent with each other

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-12-04 17:35:13 +08:00
committed by Petro Karashchenko
parent 4be9ec774b
commit 055f1f33eb
41 changed files with 104 additions and 104 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ static int syslog_stream_putc(FAR struct syslog_channel_s *channel, int ch)
irqstate_t flags;
flags = enter_critical_section();
lib_stream_put(chan->stream, ch);
lib_stream_putc(chan->stream, ch);
leave_critical_section(flags);
return OK;
@@ -156,7 +156,7 @@ static int syslog_stream_force(FAR struct syslog_channel_s *channel, int ch)
FAR struct syslog_stream_s *chan =
(FAR struct syslog_stream_s *)channel;
lib_stream_put(chan->stream, ch);
lib_stream_putc(chan->stream, ch);
return OK;
}