From e8eee9ca0d7ed8b53038ee537907436bd32c1218 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 28 Oct 2025 15:16:07 +0000 Subject: [PATCH] core: type: make get_type static --- core/type.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {