summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-21 18:51:33 +0000
committerWolfgang Denk <wd@denx.de>2011-10-26 21:32:15 +0200
commit3cce8a5496452285e1828984ad3945417205cfc3 (patch)
treeef8158e41e224c5446c70fe888e69f8d969d58ed /include/common.h
parent70d52f9a4e661f00814ed2160bdedd3cc49aa44c (diff)
downloadblackbird-obmc-uboot-3cce8a5496452285e1828984ad3945417205cfc3.tar.gz
blackbird-obmc-uboot-3cce8a5496452285e1828984ad3945417205cfc3.zip
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 <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 13575272b4..8b719eac94 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);
OpenPOWER on IntegriCloud