aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 17:44:51 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 17:44:51 +0000
commit28f5e12c24edda376c863090c09406185373167b (patch)
treed37adb13ec69829960f21d187cbd689d780338eb /string.c
parent94419c16dc6e34875f923bdf1e72c0c926cd5126 (diff)
downloadruby-28f5e12c24edda376c863090c09406185373167b.tar.gz
* configure.in: check function attirbute const and pure,
and define CONSTFUNC and PUREFUNC if available. Note that I don't add those options as default because it still shows many false-positive (it seems not to consider longjmp). * vm_eval.c (stack_check): get rb_thread_t* as an argument to avoid duplicate call of GET_THREAD(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/string.c b/string.c
index a7502b4166..5c09465196 100644
--- a/string.c
+++ b/string.c
@@ -233,8 +233,6 @@ static int fstring_cmp(VALUE a, VALUE b);
static VALUE register_fstring(VALUE str);
-st_table *rb_vm_fstring_table(void);
-
const struct st_hash_type rb_fstring_hash_type = {
fstring_cmp,
rb_str_hash,