aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-28 01:33:20 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-28 01:33:20 +0200
commit1ce153b9a4d3af341f2ebf11c0d7a5c34f10412a (patch)
tree1fa1afa101959e56d3797a2178a969c3198d2ded /html.c
parent3388eb719a141523a3477354363e8382bda4e350 (diff)
html.c: Make serialize_node static
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
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");