1
0
Fork 0
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:
S.H 2021-03-20 21:00:29 +09:00 committed by GitHub
parent 178a2a1a12
commit 71ba09632b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
View file

@ -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
View file

@ -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 {

View file

@ -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