diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-17 14:34:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-17 14:34:24 +0000 |
commit | b97f754876f0c3b0fb206af28201a5cd2fea108c (patch) | |
tree | c9439201f63af0f8dfc231fae75586c0d5398322 /string.c | |
parent | fd6b01c49db6025b471e2f1894ae6c75a6282c8b (diff) |
string.c: constify
* string.c (tr_find): constify argument table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5710,7 +5710,7 @@ tr_setup_table(VALUE str, char stable[TR_TABLE_SIZE], int first, static int -tr_find(unsigned int c, char table[TR_TABLE_SIZE], VALUE del, VALUE nodel) +tr_find(unsigned int c, const char table[TR_TABLE_SIZE], VALUE del, VALUE nodel) { if (c < 256) { return table[c] != 0; |