From: Masahiro Yamada Date: Sun, 12 Feb 2017 09:08:43 +0000 (+0900) Subject: tiny-printf: add static to locally used functions X-Git-Tag: v2017.05-rc1~78 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=433cbfb3b37404d6150a1aba94309bc0ed661689;p=u-boot tiny-printf: add static to locally used functions These two functions are only used in lib/tiny-printf.c . Signed-off-by: Masahiro Yamada Tested-by: Andreas Färber Reviewed-by: Stefan Roese --- diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index dfa843240f..6def8f98aa 100644 --- a/lib/tiny-printf.c +++ b/lib/tiny-printf.c @@ -22,7 +22,7 @@ struct printf_info { void (*putc)(struct printf_info *info, char ch); }; -void putc_normal(struct printf_info *info, char ch) +static void putc_normal(struct printf_info *info, char ch) { putc(ch); } @@ -52,7 +52,7 @@ static void div_out(struct printf_info *info, unsigned long *num, out_dgt(info, dgt); } -int _vprintf(struct printf_info *info, const char *fmt, va_list va) +static int _vprintf(struct printf_info *info, const char *fmt, va_list va) { char ch; char *p;