diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:05:34 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:05:34 +0000 |
commit | 13c7b9e97fc02cfb55e35340537f04c1fe309090 (patch) | |
tree | 23929d9dde299608ccce4dea434ccc7a8a367fd0 | |
parent | c02718070450fb819b42b011b1b083b83a0b2bdf (diff) | |
download | libdom-13c7b9e97fc02cfb55e35340537f04c1fe309090.tar.gz |
Cleanup: Remove odd declaration of callback outside header guard.
-rw-r--r-- | src/html/html_map_element.c | 2 | ||||
-rw-r--r-- | src/html/html_map_element.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/html/html_map_element.c b/src/html/html_map_element.c index 5ecbb5cc..3b10222f 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 031a0321..7e0e3dc1 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); |