summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-08 00:23:14 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-08 00:23:14 +0000
commitc49418522dec35ce043e0a9736fae32217002384 (patch)
treeec395914e069f04d77a08f9af7fb8bbc229227e0 /compile.c
parent835f040be29b1a32f93428a6a90de7978b7c2779 (diff)
* compile.c: iseq_compile -> rb_iseq_compile.
* iseq.c: ditto. * intern.h: provide function prototype of Init_jump. * eval_jump.h (Init_jump): declare function type. * thread.c: platform-dependent functions should be surrounded by #ifdef. * iseq.c (iseq_data_to_ary): remove unused variable. * compile.c (set_arguments): ditto. * thread.c (set_unblock_function): ditto. * thread_pthread.ci: reduce printf warning. * vm_dump.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index d75d8242ac..8ccdb33d21 100644
--- a/compile.c
+++ b/compile.c
@@ -138,7 +138,7 @@ iseq_add_mark_object_compile_time(rb_iseq_t *iseq, VALUE v)
#endif
VALUE
-iseq_compile(VALUE self, NODE *narg)
+rb_iseq_compile(VALUE self, NODE *narg)
{
DECL_ANCHOR(list_anchor);
rb_iseq_t *iseq;
@@ -1097,7 +1097,6 @@ static int
set_arguments(rb_iseq_t *iseq, LINK_ANCHOR *optargs, NODE *node_arg)
{
NODE *node_aux = node_arg->nd_next;
- int mandatory_len = 0;
NODE *node_opt = 0;
ID rest_id = 0;
ID block_id = 0;