mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unneeded declarations
This commit is contained in:
parent
178a2a1a12
commit
71ba09632b
Notes:
git
2021-03-20 21:00:49 +09:00
Merged: https://github.com/ruby/ruby/pull/4295 Merged-By: nobu <nobu@ruby-lang.org>
3 changed files with 0 additions and 5 deletions
2
gc.c
2
gc.c
|
@ -9436,8 +9436,6 @@ gc_update_references(rb_objspace_t * objspace, rb_heap_t *heap)
|
|||
gc_update_table_refs(objspace, finalizer_table);
|
||||
}
|
||||
|
||||
static VALUE type_sym(size_t type);
|
||||
|
||||
static VALUE
|
||||
gc_compact_stats(rb_execution_context_t *ec, VALUE self)
|
||||
{
|
||||
|
|
1
io.c
1
io.c
|
@ -215,7 +215,6 @@ static VALUE sym_DATA;
|
|||
static VALUE sym_HOLE;
|
||||
#endif
|
||||
|
||||
static VALUE rb_io_initialize(int argc, VALUE *argv, VALUE io);
|
||||
static VALUE prep_io(int fd, int fmode, VALUE klass, const char *path);
|
||||
|
||||
struct argf {
|
||||
|
|
|
@ -1186,10 +1186,8 @@ static const rb_data_type_t load_arg_data = {
|
|||
};
|
||||
|
||||
#define r_entry(v, arg) r_entry0((v), (arg)->data->num_entries, (arg))
|
||||
static VALUE r_entry0(VALUE v, st_index_t num, struct load_arg *arg);
|
||||
static VALUE r_object(struct load_arg *arg);
|
||||
static VALUE r_symbol(struct load_arg *arg);
|
||||
static VALUE path2class(VALUE path);
|
||||
|
||||
NORETURN(static void too_short(void));
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue