diff options
author | Simon Glass <sjg@chromium.org> | 2011-10-21 18:51:33 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-26 21:32:15 +0200 |
commit | 3cce8a5496452285e1828984ad3945417205cfc3 (patch) | |
tree | ef8158e41e224c5446c70fe888e69f8d969d58ed /include/common.h | |
parent | 70d52f9a4e661f00814ed2160bdedd3cc49aa44c (diff) | |
download | u-boot-imx-3cce8a5496452285e1828984ad3945417205cfc3.zip u-boot-imx-3cce8a5496452285e1828984ad3945417205cfc3.tar.gz u-boot-imx-3cce8a5496452285e1828984ad3945417205cfc3.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |