From 3cce8a5496452285e1828984ad3945417205cfc3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 21 Oct 2011 18:51:33 +0000 Subject: Move simple_itoa to vsprintf This function is generally useful and shouldn't hide away in hush. It has been moved as is. Signed-off-by: Simon Glass --- include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 1357527..8b719ea 100644 --- a/include/common.h +++ b/include/common.h @@ -723,6 +723,7 @@ void panic(const char *fmt, ...) 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); /* lib/strmhz.c */ char * strmhz(char *buf, unsigned long hz); -- cgit v1.1