diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-12 12:08:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-15 03:40:22 +0300 |
commit | 433cbfb3b37404d6150a1aba94309bc0ed661689 (patch) | |
tree | 400bb29be4bb991928754cdf8e99d7c718aea1c9 | |
parent | e4290aa10af0a69c81bbb3be1a8aef7465aed2ad (diff) | |
download | u-boot-433cbfb3b37404d6150a1aba94309bc0ed661689.tar.xz |
tiny-printf: add static to locally used functions
These two functions are only used in lib/tiny-printf.c .
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | lib/tiny-printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |