From 1ce153b9a4d3af341f2ebf11c0d7a5c34f10412a Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 28 Jul 2023 01:33:20 +0200 Subject: html.c: Make serialize_node static --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index f916ec0..cdafd64 100644 --- a/html.c +++ b/html.c @@ -162,8 +162,8 @@ struct html_node *html_node_add_child(struct html_node *const n, return child; } -int serialize_node(struct dynstr *const d, const struct html_node *const n, - const unsigned level) +static int serialize_node(struct dynstr *const d, + const struct html_node *const n, const unsigned level) { for (unsigned i = 0; i < level; i++) dynstr_append(d, "\t"); -- cgit v1.2.3