From 778271539bfe1e7152e71768a008fec452d0aa6b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Feb 2016 17:50:40 +0000 Subject: Cleanup: Remove odd declaration of callbacks outside header guard. --- src/html/html_table_element.c | 4 ++-- src/html/html_table_element.h | 2 -- 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); -- cgit v1.2.3