From 9785c905cff109e48415904e518ca559918e7fd0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 2 Nov 2011 09:52:07 +0000 Subject: Move vsprintf functions into their own header common.h is very large, so before changing the vsprintf functions, move the prototypes into their own header file. Signed-off-by: Simon Glass --- include/common.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 5cfdd762dc..3df1defab1 100644 --- a/include/common.h +++ b/include/common.h @@ -733,16 +733,7 @@ void uuid_str_to_bin(const char *uuid, unsigned char *out); int uuid_str_valid(const char *uuid); /* lib/vsprintf.c */ -ulong simple_strtoul(const char *cp,char **endp,unsigned int base); -int strict_strtoul(const char *cp, unsigned int base, unsigned long *res); -unsigned long long simple_strtoull(const char *cp,char **endp,unsigned int base); -long simple_strtol(const char *cp,char **endp,unsigned int base); -void panic(const char *fmt, ...) - __attribute__ ((format (__printf__, 1, 2), noreturn)); -int sprintf(char * buf, const char *fmt, ...) - __attribute__ ((format (__printf__, 2, 3))); -int vsprintf(char *buf, const char *fmt, va_list args); -char *simple_itoa(ulong i); +#include /* lib/strmhz.c */ char * strmhz(char *buf, unsigned long hz); -- cgit