]> git.baikalelectronics.ru Git - uboot.git/commit
lib/vsprintf.c: implement printf() in terms of vprintf()
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 27 May 2021 22:20:44 +0000 (00:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 15 Jul 2021 22:44:36 +0000 (18:44 -0400)
commit5224dca8895844c195258dc2a2167e3d98ef539d
tree9d68cf2f6295b8150d951ace3926f8f669c4b36b
parent07a87044071d40723a1117c33becd9be6d0d1241
lib/vsprintf.c: implement printf() in terms of vprintf()

This saves some code, both in terms of #LOC and .text size, and it is
also the normal convention that foo(...) is implemented in terms of
vfoo().

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
lib/vsprintf.c