summaryrefslogtreecommitdiffstats
path: root/enc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 19:00:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 19:00:35 +0000
commit8355a26d2dfc02a259a30d1b789ae7daf7bb05b7 (patch)
tree38ca2c3d191fb6431e6f72f050edc49f44692e7f /enc
parent8d6d5e3aa7f689ed91d9c23cf47bc275d243fc76 (diff)
downloadruby-8355a26d2dfc02a259a30d1b789ae7daf7bb05b7.tar.gz
ruby-8355a26d2dfc02a259a30d1b789ae7daf7bb05b7.tar.xz
ruby-8355a26d2dfc02a259a30d1b789ae7daf7bb05b7.zip
* enc/us_ascii.c (us_ascii_mbc_enc_len): made static. a patch by
Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36916] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/us_ascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/us_ascii.c b/enc/us_ascii.c
index 39e2b2608..2e96dd384 100644
--- a/enc/us_ascii.c
+++ b/enc/us_ascii.c
@@ -1,6 +1,6 @@
#include "regenc.h"
-extern int
+static int
us_ascii_mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc)
{
if (*p & 0x80)