summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 10:22:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 10:22:02 +0000
commitc5f50296b412436e6d03d459b43eae16e6fdbbf5 (patch)
treea9c1ecc2655875943dc3fb08827a6ab7fe0924a4
parent664bf8bfc533b6c54d5782ae042663baa7ab5d4d (diff)
prototized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--iseq.c2
-rw-r--r--iseq.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 68ca781..935c69d 100644
--- a/iseq.c
+++ b/iseq.c
@@ -980,7 +980,7 @@ remove_coverage_i(void *vstart, void *vend, size_t stride, void *data)
}
void
-rb_iseq_remove_coverage_all()
+rb_iseq_remove_coverage_all(void)
{
rb_objspace_each_objects(remove_coverage_i, NULL);
}
diff --git a/iseq.h b/iseq.h
index 44ed3bd..2062c33 100644
--- a/iseq.h
+++ b/iseq.h
@@ -178,7 +178,7 @@ VALUE rb_iseq_first_lineno(const rb_iseq_t *iseq);
VALUE rb_iseq_method_name(const rb_iseq_t *iseq);
void rb_iseq_code_location(const rb_iseq_t *iseq, int *first_lineno, int *first_column, int *last_lineno, int *last_column);
-void rb_iseq_remove_coverage_all();
+void rb_iseq_remove_coverage_all(void);
/* proc.c */
const rb_iseq_t *rb_method_iseq(VALUE body);