summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'class.c')
-rw-r--r--class.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/class.c b/class.c
index 043abe3..9d333fd 100644
--- a/class.c
+++ b/class.c
@@ -32,7 +32,7 @@
#include <ctype.h>
extern st_table *rb_class_tbl;
-static ID id_attached;
+#define id_attached id__attached__
/**
* Allocates a struct RClass for a new class.
@@ -400,8 +400,6 @@ boot_defclass(const char *name, VALUE super)
void
Init_class_hierarchy(void)
{
- id_attached = rb_intern("__attached__");
-
rb_cBasicObject = boot_defclass("BasicObject", 0);
rb_cObject = boot_defclass("Object", rb_cBasicObject);
rb_cModule = boot_defclass("Module", rb_cObject);