summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 18:04:10 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-02-05 18:04:10 (GMT)
commitf566b7cab8ffc9f4e959154a57bef91521f20d8a (patch)
tree7dad74b60ecee7a0027a178333bffe1687019f59
parente13599e9c92a4dc93443c1dd63b1dbf4b665c83b (diff)
downloadlibdom-f566b7cab8ffc9f4e959154a57bef91521f20d8a.tar.gz
libdom-f566b7cab8ffc9f4e959154a57bef91521f20d8a.tar.bz2
Cleanup: Remove odd declaration of callback outside header guard.
-rw-r--r--src/html/html_tablerow_element.c2
-rw-r--r--src/html/html_tablerow_element.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/html/html_tablerow_element.c b/src/html/html_tablerow_element.c
index f4925bb..b722d0d 100644
--- a/src/html/html_tablerow_element.c
+++ b/src/html/html_tablerow_element.c
@@ -317,7 +317,7 @@ dom_exception dom_html_table_row_element_get_section_row_index(
* \param ctx The dom_html_document object (void *)
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
-bool table_cells_callback(struct dom_node_internal *node, void *ctx)
+static bool table_cells_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_tablerow_element.h b/src/html/html_tablerow_element.h
index c674207..5c8a4e4 100644
--- a/src/html/html_tablerow_element.h
+++ b/src/html/html_tablerow_element.h
@@ -58,5 +58,4 @@ dom_exception _dom_html_table_row_element_copy_internal(
(dom_html_table_row_element *) (n))
#endif
-bool table_cells_callback(struct dom_node_internal *node, void *ctx);