core: type: make get_type static
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user