You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/12/04 07:45:36 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #7770: libc/stdio: add total_len back

xiaoxiang781216 commented on code in PR #7770:
URL: https://github.com/apache/nuttx/pull/7770#discussion_r1038923520


##########
libs/libc/stdio/lib_libvsprintf.c:
##########
@@ -67,6 +67,14 @@
 #  undef CONFIG_LIBC_LONG_LONG
 #endif
 
+/* [Re]define putc() */
+
+#ifdef putc
+#  undef putc
+#endif
+
+#define putc(c,stream)  (total_len++, lib_stream_put(stream, c))

Review Comment:
   let's change putc to stream_putc



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org