diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-27 21:49:33 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-27 21:49:33 +0000 |
commit | 312673ca729f2b3557a572a03ff6915460329286 (patch) | |
tree | db628d0ff9db6b4824afcd84a6546ef90dad25bb /src/console | |
parent | a8888bd1d236af51dae1b39a5d7bc9dd8b9b4f2e (diff) | |
download | coreboot-staging-312673ca729f2b3557a572a03ff6915460329286.zip coreboot-staging-312673ca729f2b3557a572a03ff6915460329286.tar.gz |
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 <uwe@hermann-uwe.de>
Acked-by: Myles Watosn <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4874 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/vsprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 9507e8e..7f3e33c 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; |