[前][次][番号順一覧][スレッド一覧]

ruby-changes:65490

From: S.H <ko1@a...>
Date: Sat, 20 Mar 2021 21:00:41 +0900 (JST)
Subject: [ruby-changes:65490] 71ba09632b (master): Remove unneeded declarations

https://git.ruby-lang.org/ruby.git/commit/?id=71ba09632b

From 71ba09632ba81c91ce22ca900cf01da2d9e0d53f Mon Sep 17 00:00:00 2001
From: "S.H" <gamelinks007@g...>
Date: Sat, 20 Mar 2021 21:00:29 +0900
Subject: Remove unneeded declarations

---
 gc.c      | 2 --
 io.c      | 1 -
 marshal.c | 2 --
 3 files changed, 5 deletions(-)

diff --git a/gc.c b/gc.c
index f4c8a94..1f161b8 100644
--- a/gc.c
+++ b/gc.c
@@ -9436,8 +9436,6 @@ gc_update_references(rb_objspace_t * objspace, rb_heap_t *heap) https://github.com/ruby/ruby/blob/trunk/gc.c#L9436
     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)
 {
diff --git a/io.c b/io.c
index b4d477c..5151114 100644
--- a/io.c
+++ b/io.c
@@ -215,7 +215,6 @@ static VALUE sym_DATA; https://github.com/ruby/ruby/blob/trunk/io.c#L215
 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 {
diff --git a/marshal.c b/marshal.c
index d629a11..ea43c62 100644
--- a/marshal.c
+++ b/marshal.c
@@ -1186,10 +1186,8 @@ static const rb_data_type_t load_arg_data = { https://github.com/ruby/ruby/blob/trunk/marshal.c#L1186
 };
 
 #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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]