diff options
author | Ron Yorston <rmy@pobox.com> | 2018-10-08 08:31:11 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-10-08 08:31:11 +0100 |
commit | eee3722fd32c8c0929cfbacdbe0b6524e1fd645c (patch) | |
tree | c9026160e56f204c42029c705d1d16cecd515244 /libbb/printable_string.c | |
parent | 25a1bcec7637e0f0c75d3ae6c09eb78fdb6f0a75 (diff) | |
parent | 349d72c19ced4fae64e8fdd5792b37e78ac2f616 (diff) | |
download | busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.tar.gz busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.tar.bz2 busybox-w32-eee3722fd32c8c0929cfbacdbe0b6524e1fd645c.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/printable_string.c')
-rw-r--r-- | libbb/printable_string.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libbb/printable_string.c b/libbb/printable_string.c index e638a178e..2e8895a4f 100644 --- a/libbb/printable_string.c +++ b/libbb/printable_string.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | #include "unicode.h" | 10 | #include "unicode.h" |
11 | 11 | ||
12 | const char* FAST_FUNC printable_string(uni_stat_t *stats, const char *str) | 12 | const char* FAST_FUNC printable_string2(uni_stat_t *stats, const char *str) |
13 | { | 13 | { |
14 | char *dst; | 14 | char *dst; |
15 | const char *s; | 15 | const char *s; |
@@ -55,3 +55,8 @@ const char* FAST_FUNC printable_string(uni_stat_t *stats, const char *str) | |||
55 | #endif | 55 | #endif |
56 | return auto_string(dst); | 56 | return auto_string(dst); |
57 | } | 57 | } |
58 | |||
59 | const char* FAST_FUNC printable_string(const char *str) | ||
60 | { | ||
61 | return printable_string2(NULL, str); | ||
62 | } | ||