mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 20:24:27 +01:00
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:
parent
e4290aa10a
commit
433cbfb3b3
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue