From 581707811c1c24bb0676e7582c671548b8851436 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Wed, 28 Oct 2009 16:13:28 +0000 Subject: Create lib.h for homeless prototypes. Signed-off-by: Myles Watson Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/vsprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/console') diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 7f3e33c3cc..c4c91115c2 100644 --- a/src/console/vsprintf.c +++ b/src/console/vsprintf.c @@ -20,6 +20,7 @@ */ #include +#include #include #include @@ -48,8 +49,6 @@ 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