forked from xavi/libweb
html.c: Make serialize_node static
This commit is contained in:
parent
3388eb719a
commit
1ce153b9a4
4
html.c
4
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");
|
||||
|
|
Loading…
Reference in New Issue