summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:50:40 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-02-05 17:50:40 (GMT)
commit778271539bfe1e7152e71768a008fec452d0aa6b (patch)
treee2b590f1c6e7ab4044318455091309ae83e41b01
parent609e19e6f68121010f80623835398293d52c9fdc (diff)
downloadlibdom-778271539bfe1e7152e71768a008fec452d0aa6b.tar.gz
libdom-778271539bfe1e7152e71768a008fec452d0aa6b.tar.bz2
Cleanup: Remove odd declaration of callbacks outside header guard.
-rw-r--r--src/html/html_table_element.c4
-rw-r--r--src/html/html_table_element.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/html/html_table_element.c b/src/html/html_table_element.c
index e905f85..b74ea41 100644
--- a/src/html/html_table_element.c
+++ b/src/html/html_table_element.c
@@ -380,7 +380,7 @@ dom_exception dom_html_table_element_set_t_foot(
* \param ctx The dom_html_document object (void *)
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
-bool table_rows_callback(struct dom_node_internal *node, void *ctx)
+static bool table_rows_callback(struct dom_node_internal *node, void *ctx)
{
dom_html_document *doc = ctx;
if(node->type == DOM_ELEMENT_NODE &&
@@ -414,7 +414,7 @@ dom_exception dom_html_table_element_get_rows(
* \param ctx The dom_html_document object (void *)
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
-bool table_t_bodies_callback(struct dom_node_internal *node, void *ctx)
+static bool table_t_bodies_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_table_element.h b/src/html/html_table_element.h
index 4e757cc..5f440fd 100644
--- a/src/html/html_table_element.h
+++ b/src/html/html_table_element.h
@@ -59,8 +59,6 @@ dom_exception _dom_html_table_element_copy_internal(
#endif
-bool table_rows_callback(struct dom_node_internal *node, void *ctx);
-bool table_t_bodies_callback(struct dom_node_internal *node, void *ctx);
dom_exception dom_html_table_element_create_t_body(
dom_html_table_element *element,
dom_html_table_section_element **t_body);