From 312673ca729f2b3557a572a03ff6915460329286 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 27 Oct 2009 21:49:33 +0000 Subject: Improve coreboot build output and eliminate some warnings: - Add static and const where possible. - Turn some #warning entries into TODO comments. - Add missing prototypes. - Remove unused variables. - Fix printf arguments or cast them as needed. - Make sconfig output look better. Drop useless "PARSED THE TREE" output. - Print "(this may take a while)" while building romcc. Add missing "\n". Signed-off-by: Uwe Hermann Acked-by: Myles Watosn git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4874 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/vsprintf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/console') diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 9507e8ea54..7f3e33c3cc 100644 --- a/src/console/vsprintf.c +++ b/src/console/vsprintf.c @@ -48,6 +48,8 @@ static int vsprintf(char *buf, const char *fmt, va_list args) return i; } +int sprintf(char *buf, const char *fmt, ...); + int sprintf(char *buf, const char *fmt, ...) { va_list args; -- cgit v1.2.3