Skip to content

Commit 8808dce

Browse files
lemiremaxwbuckley
andcommitted
Make art_node_printf static for better encapsulation
Co-authored-by: Max Buckley <maxwbuckley@gmail.com>
1 parent 9b95ab9 commit 8808dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/art/art.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ static void art_node_print_type(art_ref_t ref) {
15431543
}
15441544
}
15451545

1546-
void art_node_printf(const art_t *art, art_ref_t ref, uint8_t depth) {
1546+
static void art_node_printf(const art_t *art, art_ref_t ref, uint8_t depth) {
15471547
if (art_is_leaf(ref)) {
15481548
printf("{ type: Leaf, key: ");
15491549
art_leaf_t *leaf = (art_leaf_t *)art_deref(art, ref);

0 commit comments

Comments
 (0)