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>
This commit is contained in:
Masahiro Yamada 2017-02-12 18:08:43 +09:00 committed by Tom Rini
parent e4290aa10a
commit 433cbfb3b3
1 changed files with 2 additions and 2 deletions

View File

@ -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;