From 13c7b9e97fc02cfb55e35340537f04c1fe309090 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Feb 2016 17:05:34 +0000 Subject: Cleanup: Remove odd declaration of callback outside header guard. --- src/html/html_map_element.c | 2 +- src/html/html_map_element.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3