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
+1 -1
View File
@@ -124,7 +124,7 @@ static off_t memsistream_seek(FAR struct lib_sistream_s *this, off_t offset,
void lib_memsistream(FAR struct lib_memsistream_s *instream,
FAR const char *bufstart, int buflen)
{
instream->public.get = memsistream_getc;
instream->public.getc = memsistream_getc;
instream->public.seek = memsistream_seek;
instream->public.nget = 0; /* Total number of characters read */
instream->buffer = bufstart; /* Start of buffer */