summaryrefslogtreecommitdiff
path: root/libbb/unicode.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-01-11 13:08:28 +0100
committerDenys Vlasenko2011-01-11 13:08:28 +0100
commitdc7e5c46b0204bc3489ee961a631fb00533ae597 (patch)
treebebc35d178b4ceda516e05fa84b967cd461d5399 /libbb/unicode.c
parent5a163b26451c591187482f99659e5fe639a0616a (diff)
downloadbusybox-dc7e5c46b0204bc3489ee961a631fb00533ae597.zip
busybox-dc7e5c46b0204bc3489ee961a631fb00533ae597.tar.gz
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.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libbb/unicode.c b/libbb/unicode.c
index cf0c6be..08a4c74 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)
{
return unicode_conv_to_printable2(stats, src, INT_MAX, 0);
}
-char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth)
+char* FAST_FUNC unicode_conv_to_printable_fixedwidth(/*uni_stat_t *stats,*/ const char *src, unsigned width)
{
- return unicode_conv_to_printable2(stats, src, maxwidth, 0);
+ return unicode_conv_to_printable2(/*stats:*/ NULL, src, width, UNI_FLAG_PAD);
}
-char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const char *src, unsigned width)
+
+#ifdef UNUSED
+char* FAST_FUNC unicode_conv_to_printable_maxwidth(uni_stat_t *stats, const char *src, unsigned maxwidth)
{
- return unicode_conv_to_printable2(stats, src, width, UNI_FLAG_PAD);
+ return unicode_conv_to_printable2(stats, src, maxwidth, 0);
}
-#ifdef UNUSED
unsigned FAST_FUNC unicode_padding_to_width(unsigned width, const char *src)
{
if (unicode_status != UNICODE_ON) {