summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html/html_map_element.c2
-rw-r--r--src/html/html_map_element.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/html/html_map_element.c b/src/html/html_map_element.c
index 5ecbb5c..3b10222 100644
--- a/src/html/html_map_element.c
+++ b/src/html/html_map_element.c
@@ -190,7 +190,7 @@ dom_exception dom_html_map_element_set_##attr( \
SIMPLE_GET_SET(name);
/* The callback function for _dom_html_collection_create*/
-bool callback(struct dom_node_internal *node, void *ctx)
+static bool callback(struct dom_node_internal *node, void *ctx)
{
if(node->type == DOM_ELEMENT_NODE &&
dom_string_caseless_isequal(node->name,
diff --git a/src/html/html_map_element.h b/src/html/html_map_element.h
index 031a032..7e0e3dc 100644
--- a/src/html/html_map_element.h
+++ b/src/html/html_map_element.h
@@ -59,5 +59,3 @@ dom_exception _dom_html_map_element_copy_internal(
(dom_html_map_element *) (n))
#endif
-
-bool callback(struct dom_node_internal *node, void *ctx);