summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 17:55:52 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-02-05 17:55:52 (GMT)
commit103c582b3beb6db4d9f1d73c8aa9e7b7121cd977 (patch)
treeb4601bac4382d3cb175ef0b65d3fb2cff0c85779
parent778271539bfe1e7152e71768a008fec452d0aa6b (diff)
downloadlibdom-103c582b3beb6db4d9f1d73c8aa9e7b7121cd977.tar.gz
libdom-103c582b3beb6db4d9f1d73c8aa9e7b7121cd977.tar.bz2
Cleanup: Don't put static function in header.
-rw-r--r--src/html/html_table_element.c3
-rw-r--r--src/html/html_table_element.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/html/html_table_element.c b/src/html/html_table_element.c
index b74ea41..7e8a508 100644
--- a/src/html/html_table_element.c
+++ b/src/html/html_table_element.c
@@ -432,6 +432,7 @@ static bool table_t_bodies_callback(struct dom_node_internal *node, void *ctx)
* \param t_bodies The Status
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
+
dom_exception dom_html_table_element_get_t_bodies(
dom_html_table_element *element,
dom_html_collection **t_bodies)
@@ -674,7 +675,7 @@ dom_exception dom_html_table_element_delete_t_head(
* \param t_head The Status
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
-dom_exception dom_html_table_element_create_t_body(
+static dom_exception dom_html_table_element_create_t_body(
dom_html_table_element *element,
dom_html_table_section_element **t_body)
{
diff --git a/src/html/html_table_element.h b/src/html/html_table_element.h
index 5f440fd..eed6a4a 100644
--- a/src/html/html_table_element.h
+++ b/src/html/html_table_element.h
@@ -58,7 +58,3 @@ dom_exception _dom_html_table_element_copy_internal(
(dom_html_table_element *) (n))
#endif
-
-dom_exception dom_html_table_element_create_t_body(
- dom_html_table_element *element,
- dom_html_table_section_element **t_body);