diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-18 03:49:33 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-18 03:49:33 +0000 |
commit | 7da3ea811e71bcf2445fe63608b15645ef205240 (patch) | |
tree | 87f3a5270f6299c47ca2f35ec06decb96082d622 /object.c | |
parent | 19f386674eb5cfbf9c8fd6041114829f37888d17 (diff) | |
download | ruby-7da3ea811e71bcf2445fe63608b15645ef205240.tar.gz |
* method.h, internal.h iseq.h: declare internal functions.
* compile.c, eval.c, iseq.c, object.c, parse.y, proc.c, process.c,
thread.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c: don't
declare internal functions.
Note that rb_method_entry_eq() is defined in vm_method.c but
there was a declaration in proc.c with different const-ness.
Now it is declared in method.h with same const-ness to the
definition.
* object.c (rb_mod_module_exec): don't declare functions declared in
include/ruby/intern.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -426,8 +426,6 @@ inspect_obj(VALUE obj, VALUE str, int recur) static VALUE rb_obj_inspect(VALUE obj) { - extern int rb_obj_basic_to_s_p(VALUE); - if (TYPE(obj) == T_OBJECT && rb_obj_basic_to_s_p(obj)) { int has_ivar = 0; VALUE *ptr = ROBJECT_IVPTR(obj); @@ -1499,8 +1497,6 @@ rb_class_s_alloc(VALUE klass) static VALUE rb_mod_initialize(VALUE module) { - extern VALUE rb_mod_module_exec(int argc, VALUE *argv, VALUE mod); - if (rb_block_given_p()) { rb_mod_module_exec(1, &module, module); } @@ -2579,7 +2575,6 @@ rb_f_array(VALUE obj, VALUE arg) void Init_Object(void) { - extern void Init_class_hierarchy(void); int i; Init_class_hierarchy(); |