From 0a640a93860ecd948431e5c29fc6f6ab8853c4b5 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 15 Jan 2008 14:54:40 +0000 Subject: * 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 --- enc/euc_kr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'enc/euc_kr.c') diff --git a/enc/euc_kr.c b/enc/euc_kr.c index 0b42f9985d..09869e6b5a 100644 --- a/enc/euc_kr.c +++ b/enc/euc_kr.c @@ -49,7 +49,7 @@ static const int EncLen_EUCKR[] = { }; static int -euckr_mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc) +euckr_mbc_enc_len(const UChar* p, const UChar* end ARG_UNUSED, OnigEncoding enc ARG_UNUSED) { return EncLen_EUCKR[*p]; } @@ -111,7 +111,7 @@ euckr_left_adjust_char_head(const UChar* start, const UChar* s, OnigEncoding enc } static int -euckr_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, OnigEncoding enc) +euckr_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; -- cgit v1.2.3