mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09: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
@ -22,7 +22,7 @@ struct printf_info {
|
|||||||
void (*putc)(struct printf_info *info, char ch);
|
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);
|
putc(ch);
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ static void div_out(struct printf_info *info, unsigned long *num,
|
|||||||
out_dgt(info, dgt);
|
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 ch;
|
||||||
char *p;
|
char *p;
|
||||||
|
Loading…
Reference in New Issue
Block a user