core: type: make get_type static

This commit is contained in:
2025-10-28 15:16:07 +00:00
parent 5b090c72c7
commit e8eee9ca0d

View File

@@ -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) {