summaryrefslogtreecommitdiffstats
path: root/enc/euc_tw.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-15 14:54:40 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-15 14:54:40 +0000
commit6305c1a9251e70d3718f5f563fb3ebb45c235cf9 (patch)
tree35c9ec8338b78601b198ea588415dccd43c02b25 /enc/euc_tw.c
parentec0e1c7c1f40a960386ce95ff60bd5e1e52dbcc0 (diff)
downloadruby-6305c1a9251e70d3718f5f563fb3ebb45c235cf9.tar.gz
ruby-6305c1a9251e70d3718f5f563fb3ebb45c235cf9.tar.xz
ruby-6305c1a9251e70d3718f5f563fb3ebb45c235cf9.zip
* enc/*: add ARG_UNUSED.
* enc/koi8_u.c: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/euc_tw.c')
-rw-r--r--enc/euc_tw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/enc/euc_tw.c b/enc/euc_tw.c
index 395f1e9ae..8638021cc 100644
--- a/enc/euc_tw.c
+++ b/enc/euc_tw.c
@@ -49,13 +49,13 @@ static const int EncLen_EUCTW[] = {
};
static int
-euctw_mbc_enc_len(const UChar* p, const UChar* end, OnigEncoding enc)
+euctw_mbc_enc_len(const UChar* p, const UChar* end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
{
return EncLen_EUCTW[*p];
}
static OnigCodePoint
-euctw_mbc_to_code(const UChar* p, const UChar* end, OnigEncoding enc)
+euctw_mbc_to_code(const UChar* p, const UChar* end, OnigEncoding enc ARG_UNUSED)
{
return onigenc_mbn_mbc_to_code(enc, p, end);
}
@@ -111,7 +111,7 @@ euctw_left_adjust_char_head(const UChar* start, const UChar* s, OnigEncoding enc
}
static int
-euctw_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, OnigEncoding enc)
+euctw_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
{
const UChar c = *s;
if (c <= 0x7e) return TRUE;