summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 13:08:01 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-09 13:08:01 +0900
commit37eefb11fbadca6198b081a0a89d5b265fe45de4 (patch)
treece3c628bc4ceec1e23d42954226683bc9ab855de
parenta9fd57056cdbf041f8f0ad1350846a175028542a (diff)
remove useless include and dependency
-rw-r--r--class.c2
-rw-r--r--common.mk1
2 files changed, 1 insertions, 2 deletions
diff --git a/class.c b/class.c
index 08c0a19..c9f36c8 100644
--- a/class.c
+++ b/class.c
@@ -308,7 +308,7 @@ class_init_copy_check(VALUE clone, VALUE orig)
rb_raise(rb_eTypeError, "can't copy singleton class");
}
}
-#include "gc.h"
+
/* :nodoc: */
VALUE
rb_mod_init_copy(VALUE clone, VALUE orig)
diff --git a/common.mk b/common.mk
index 40aba79..6b4a0b0 100644
--- a/common.mk
+++ b/common.mk
@@ -1609,7 +1609,6 @@ class.$(OBJEXT): {$(VPATH)}config.h
class.$(OBJEXT): {$(VPATH)}constant.h
class.$(OBJEXT): {$(VPATH)}defines.h
class.$(OBJEXT): {$(VPATH)}encoding.h
-class.$(OBJEXT): {$(VPATH)}gc.h
class.$(OBJEXT): {$(VPATH)}id.h
class.$(OBJEXT): {$(VPATH)}id_table.h
class.$(OBJEXT): {$(VPATH)}intern.h