]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/nolibc/printf: Change variables 'c' to 'ch' and 'tmpbuf[]' to 'outbuf[]'
authorDavid Laight <david.laight.linux@gmail.com>
Mon, 23 Feb 2026 10:17:24 +0000 (10:17 +0000)
committerThomas Weißschuh <linux@weissschuh.net>
Fri, 20 Mar 2026 16:45:59 +0000 (17:45 +0100)
commitf675ae28fcdf7db93a8c1a6964f062725b1e06a0
tree137e7fb500167192de898ed8fc960c64b6440aec
parent35908c5a1703052d1fe63da42c8115252a38e141
tools/nolibc/printf: Change variables 'c' to 'ch' and 'tmpbuf[]' to 'outbuf[]'

Changing 'c' makes the code slightly easier to read because the variable
stands out from the single character literals (especially 'c').

Change tmpbuf[] to outbuf[] because 'out' points into it.

The following patches pretty much rewrite the function so the
churn is limited.

Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260223101735.2922-7-david.laight.linux@gmail.com
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/stdio.h