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:
@ -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;
|
||||
|
Reference in New Issue
Block a user