]> git.dujemihanovic.xyz Git - u-boot.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)
commit97587786463ae3a44c95fcb053ab27136c646aa3
tree9d68cf2f6295b8150d951ace3926f8f669c4b36b
parent92f1e9a4b31c0bf0f4f61ab823a6a88657323646
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