Create lib.h for homeless prototypes.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson
2009-10-28 16:13:28 +00:00
parent d4e5c0a228
commit 581707811c
9 changed files with 39 additions and 15 deletions

View File

@ -20,6 +20,7 @@
*/
#include <stdarg.h>
#include <string.h>
#include <smp/spinlock.h>
#include <console/vtxprintf.h>
@ -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;