summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 18:07:59 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-02-05 18:07:59 (GMT)
commit848c41de94e3205f8b7458be1c4786ad5fb9b9fb (patch)
tree5b86818136a827e1d7bafdfd11892df29b932363
parentafec57651ec64142437c9c3d2b72f46d75db6728 (diff)
downloadlibdom-848c41de94e3205f8b7458be1c4786ad5fb9b9fb.tar.gz
libdom-848c41de94e3205f8b7458be1c4786ad5fb9b9fb.tar.bz2
Cleanup: Remove odd declaration of callback outside header guard.
-rw-r--r--src/html/html_tablesection_element.c2
-rw-r--r--src/html/html_tablesection_element.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/html/html_tablesection_element.c b/src/html/html_tablesection_element.c
index e17c86c..1ffe102 100644
--- a/src/html/html_tablesection_element.c
+++ b/src/html/html_tablesection_element.c
@@ -193,7 +193,7 @@ SIMPLE_GET_SET(ch_off);
SIMPLE_GET_SET(v_align);
/* The callback function for _dom_html_collection_create*/
-bool table_section_callback(struct dom_node_internal *node, void *ctx)
+static bool table_section_callback(struct dom_node_internal *node, void *ctx)
{
dom_html_document *doc = ctx;
if(node->type == DOM_ELEMENT_NODE &&
diff --git a/src/html/html_tablesection_element.h b/src/html/html_tablesection_element.h
index 9caf65e..b25eea3 100644
--- a/src/html/html_tablesection_element.h
+++ b/src/html/html_tablesection_element.h
@@ -59,5 +59,4 @@ dom_exception _dom_html_table_section_element_copy_internal(
(dom_html_table_section_element *) (n))
#endif
-bool table_section_callback(struct dom_node_internal *node, void *ctx);