1
0
Fork 0

html.c: Make serialize_node static

This commit is contained in:
Xavier Del Campo Romero 2023-07-28 01:33:20 +02:00
parent 3388eb719a
commit 1ce153b9a4
Signed by untrusted user: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 2 additions and 2 deletions

4
html.c
View File

@ -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");