From patchwork Sat Jan 5 01:51:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,RFC,25/44] Add stdarg to vsprintf.h Date: Fri, 04 Jan 2013 15:51:54 -0000 From: Simon Glass X-Patchwork-Id: 209639 Message-Id: <1357350734-13737-26-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Cc: Joel A Fernandes , Tom Rini , Vadim Bendebury , =?UTF-8?q?Andreas=20B=C3=A4ck?= This file uses varargs, so add the header file so that it can be used when common has not been included. TODO: Probably should drop this patch? Signed-off-by: Simon Glass --- include/vsprintf.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/vsprintf.h b/include/vsprintf.h index 651077c..704b8cd 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -24,6 +24,8 @@ #ifndef __VSPRINTF_H #define __VSPRINTF_H +#include + ulong simple_strtoul(const char *cp, char **endp, unsigned int base); /**