summaryrefslogtreecommitdiff
path: root/shape.h
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-03-09 15:50:58 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2023-03-22 12:50:42 -0700
commite055c0c7162d7d240c93227397cf3eca01ca86e7 (patch)
tree5c6e60e0238e905a9d47977bacf136f73a6f1a19 /shape.h
parent1a9e2d20e2c66933f8eb891a1ee85fae6015fcf1 (diff)
downloadruby-e055c0c7162d7d240c93227397cf3eca01ca86e7.tar.gz
Make shape functions static
These functions don't need to be in the header file, we can declare them as static.
Diffstat (limited to 'shape.h')
-rw-r--r--shape.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/shape.h b/shape.h
index 5366631f8d..53c3cce48e 100644
--- a/shape.h
+++ b/shape.h
@@ -201,10 +201,6 @@ RCLASS_IV_COUNT(VALUE obj)
return ivc;
}
-rb_shape_t * rb_shape_alloc(ID edge_name, rb_shape_t * parent);
-rb_shape_t * rb_shape_alloc_with_size_pool_index(ID edge_name, rb_shape_t * parent, uint8_t size_pool_index);
-rb_shape_t * rb_shape_alloc_with_parent_id(ID edge_name, shape_id_t parent_id);
-
rb_shape_t *rb_shape_traverse_from_new_root(rb_shape_t *initial_shape, rb_shape_t *orig_shape);
bool rb_shape_set_shape_id(VALUE obj, shape_id_t shape_id);