diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-11 13:08:28 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-11 13:08:28 +0100 |
commit | dc7e5c46b0204bc3489ee961a631fb00533ae597 (patch) | |
tree | bebc35d178b4ceda516e05fa84b967cd461d5399 /libbb/unicode.c | |
parent | 5a163b26451c591187482f99659e5fe639a0616a (diff) | |
download | busybox-w32-dc7e5c46b0204bc3489ee961a631fb00533ae597.tar.gz busybox-w32-dc7e5c46b0204bc3489ee961a631fb00533ae597.tar.bz2 busybox-w32-dc7e5c46b0204bc3489ee961a631fb00533ae597.zip |
libbb unicode: comment out usused function and unused parameter
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'libbb/unicode.c')
-rw-r--r-- | libbb/unicode.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libbb/unicode.c b/libbb/unicode.c index cf0c6bed9..08a4c7427 100644 --- a/libbb/unicode.c +++ b/libbb/unicode.c | |||
@@ -1107,16 +1107,17 @@ char* FAST_FUNC unicode_conv_to_printable(uni_stat_t *stats, const char *src) | |||
1107 | { | 1107 | { |
1108 | return unicode_conv_to_printable2(stats, src, INT_MAX, 0); | 1108 | return unicode_conv_to_printable2(stats, src, INT_MAX, 0); |
1109 | } | 1109 | } |
1110 | char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth) | 1110 | char* FAST_FUNC unicode_conv_to_printable_fixedwidth(/*uni_stat_t *stats,*/ const char *src, unsigned width) |
1111 | { | 1111 | { |
1112 | return unicode_conv_to_printable2(stats, src, maxwidth, 0); | 1112 | return unicode_conv_to_printable2(/*stats:*/ NULL, src, width, UNI_FLAG_PAD); |
1113 | } | 1113 | } |
1114 | char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const char *src, unsigned width) | 1114 | |
1115 | #ifdef UNUSED | ||
1116 | char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth) | ||
1115 | { | 1117 | { |
1116 | return unicode_conv_to_printable2(stats, src, width, UNI_FLAG_PAD); | 1118 | return unicode_conv_to_printable2(stats, src, maxwidth, 0); |
1117 | } | 1119 | } |
1118 | 1120 | ||
1119 | #ifdef UNUSED | ||
1120 | unsigned FAST_FUNC unicode_padding_to_width(unsigned width, const char *src) | 1121 | unsigned FAST_FUNC unicode_padding_to_width(unsigned width, const char *src) |
1121 | { | 1122 | { |
1122 | if (unicode_status != UNICODE_ON) { | 1123 | if (unicode_status != UNICODE_ON) { |