diff --git a/core/type.c b/core/type.c index 79ebbee..23e594a 100644 --- a/core/type.c +++ b/core/type.c @@ -38,7 +38,8 @@ B_BTREE_DEFINE_INSERT( struct b_type_component, c_node, &c_type->r_info->t_id, put_type_component, component_compare) -struct b_type_registration *get_type(const b_btree *tree, const union b_type *key) +static struct b_type_registration *get_type( + const b_btree *tree, const union b_type *key) { b_btree_node *cur = tree->b_root; while (cur) {