This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 2c56945fee2189ae202b5b15ed0fd25ba0f032c2
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sun Dec 4 19:19:38 2022 +0800

    libc/stream: Rename (put|get) to (putc|getc)
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 examples/chrono/chrono_main.c | 2 +-
 examples/hidkbd/hidkbd_main.c | 2 +-
 examples/slcd/slcd_main.c     | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/chrono/chrono_main.c b/examples/chrono/chrono_main.c
index a5b7b1a89..dc32c97c4 100644
--- a/examples/chrono/chrono_main.c
+++ b/examples/chrono/chrono_main.c
@@ -342,7 +342,7 @@ int main(int argc, FAR char *argv[])
       /* Initialize the output stream */
 
       memset(priv, 0, sizeof(struct slcd_chrono_s));
-      priv->stream.put   = slcd_putc;
+      priv->stream.putc  = slcd_putc;
 #ifdef CONFIG_STDIO_LINEBUFFER
       priv->stream.flush = slcd_flush;
 #endif
diff --git a/examples/hidkbd/hidkbd_main.c b/examples/hidkbd/hidkbd_main.c
index ac38cde2c..e0f2a52ee 100644
--- a/examples/hidkbd/hidkbd_main.c
+++ b/examples/hidkbd/hidkbd_main.c
@@ -119,7 +119,7 @@ static void hidkbd_decode(FAR char *buffer, ssize_t nbytes)
   /* Initialize */
 
   memset(&state, 0, sizeof(struct kbd_getstate_s));
-  kbdstream.stream.get  = hidkbd_getstream;
+  kbdstream.stream.getc = hidkbd_getstream;
   kbdstream.stream.nget = 0;
   kbdstream.buffer      = buffer;
   kbdstream.nbytes      = nbytes;
diff --git a/examples/slcd/slcd_main.c b/examples/slcd/slcd_main.c
index 34b1dd6fb..ca68c6526 100644
--- a/examples/slcd/slcd_main.c
+++ b/examples/slcd/slcd_main.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * apps/examples/clcd/slcd_main.c
+ * apps/examples/slcd/slcd_main.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -269,7 +269,7 @@ int main(int argc, FAR char *argv[])
       /* Initialize the output stream */
 
       memset(priv, 0, sizeof(struct slcd_test_s));
-      priv->stream.put   = slcd_putc;
+      priv->stream.putc  = slcd_putc;
 #ifdef CONFIG_STDIO_LINEBUFFER
       priv->stream.flush = slcd_flush;
 #endif

Reply via email to