diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 14:54:40 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 14:54:40 +0000 |
commit | 0a640a93860ecd948431e5c29fc6f6ab8853c4b5 (patch) | |
tree | 35c9ec8338b78601b198ea588415dccd43c02b25 /enc/iso_8859_3.c | |
parent | 904572d2e5a35c6fde655aeb24b11fcb9f7b5ba3 (diff) | |
download | ruby-0a640a93860ecd948431e5c29fc6f6ab8853c4b5.tar.gz |
* enc/*: add ARG_UNUSED.
* enc/koi8_u.c: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/iso_8859_3.c')
-rw-r--r-- | enc/iso_8859_3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/enc/iso_8859_3.c b/enc/iso_8859_3.c index 5b0ba04c73..f484061aa4 100644 --- a/enc/iso_8859_3.c +++ b/enc/iso_8859_3.c @@ -105,8 +105,8 @@ static const unsigned short EncISO_8859_3_CtypeTable[256] = { static int mbc_case_fold(OnigCaseFoldType flag, - const UChar** pp, const UChar* end, UChar* lower, - OnigEncoding enc) + const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower, + OnigEncoding enc ARG_UNUSED) { const UChar* p = *pp; @@ -149,7 +149,7 @@ is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end) #endif static int -is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) +is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc ARG_UNUSED) { if (code < 256) return ENC_IS_ISO_8859_3_CTYPE(code, ctype); @@ -201,7 +201,7 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = { static int apply_all_case_fold(OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void* arg, - OnigEncoding enc) + OnigEncoding enc ARG_UNUSED) { return onigenc_apply_all_case_fold_with_map( sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1, @@ -212,7 +212,7 @@ static int get_case_fold_codes_by_str(OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[], - OnigEncoding enc) + OnigEncoding enc ARG_UNUSED) { return onigenc_get_case_fold_codes_by_str_with_map( sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1, |