summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-05-27 22:52:57 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-28 10:18:14 +0200
commitfaf2ad1dc5a1a3fb131559c26675cecdd20b74a8 (patch)
tree037a0f2deb846207d0db6468e2d85338211c8ee0 /include
parent8f945131a18e68121f6e7ea4c12992a5eb108466 (diff)
downloadbarebox-faf2ad1dc5a1a3fb131559c26675cecdd20b74a8.tar.gz
barebox-faf2ad1dc5a1a3fb131559c26675cecdd20b74a8.tar.xz
libbb: Drop simple_itoa()
Hush is the only one user of simple_itoa() and the code there can be re-implemented using snprintf(). Change the code to get rid of simple_itoa(). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1f6afaa27a..d05c190637 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -29,6 +29,4 @@ char * safe_strncpy(char *dst, const char *src, size_t size);
int process_escape_sequence(const char *source, char *dest, int destlen);
-char *simple_itoa(unsigned int i);
-
#endif /* __LIBBB_H */