mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
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:
committed by
Petro Karashchenko
parent
4be9ec774b
commit
055f1f33eb
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user