diff options
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 077d58d..a814fd0 100644 --- a/libbb/printable_string.c +++ b/libbb/printable_string.c @@ -9,7 +9,7 @@ #include "libbb.h" #include "unicode.h" -const char* FAST_FUNC printable_string(uni_stat_t *stats, const char *str) +const char* FAST_FUNC printable_string2(uni_stat_t *stats, const char *str) { char *dst; const char *s; @@ -55,3 +55,8 @@ const char* FAST_FUNC printable_string(uni_stat_t *stats, const char *str) #endif return auto_string(dst); } + +const char* FAST_FUNC printable_string(const char *str) +{ + return printable_string2(NULL, str); +} |