mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* 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
This commit is contained in:
parent
19f386674e
commit
7da3ea811e
16 changed files with 39 additions and 23 deletions
1
thread.c
1
thread.c
|
@ -3025,7 +3025,6 @@ clear_coverage_i(st_data_t key, st_data_t val, st_data_t dummy)
|
|||
static void
|
||||
clear_coverage(void)
|
||||
{
|
||||
extern VALUE rb_get_coverages(void);
|
||||
VALUE coverages = rb_get_coverages();
|
||||
if (RTEST(coverages)) {
|
||||
st_foreach(RHASH_TBL(coverages), clear_coverage_i, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue