[U-Boot] [PATCH 5/6] Make *printf() return "int" instead of "void"

Wolfgang Denk wd at denx.de
Sun Jul 4 23:52:05 CEST 2010


In message <1277330773-28395-6-git-send-email-wd at denx.de> you wrote:
> Change the return type of the *printf() functions to the standard
> "int"; no changes are needed but returning the already available
> length count.
> 
> This will save a few additional strlen() calls later...
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  common/console.c          |   12 ++++++++----
>  examples/api/libgenwrap.c |    6 ++++--
>  include/common.h          |    8 ++++----
>  include/exports.h         |    4 ++--
>  4 files changed, 18 insertions(+), 12 deletions(-)

Applied.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The more we disagree, the more chance there is that at least  one  of
us is right.


More information about the U-Boot mailing list