summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/struct.c b/struct.c
index 6303436122..77b81b45ac 100644
--- a/struct.c
+++ b/struct.c
@@ -1126,12 +1126,6 @@ rb_struct_size(VALUE s)
return LONG2FIX(RSTRUCT_LEN(s));
}
-const VALUE*
-rb_struct_ptr(VALUE s)
-{
- return RSTRUCT_CONST_PTR(s);
-}
-
/*
* call-seq:
* struct.dig(key, ...) -> object