summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-03 09:27:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-03 09:27:42 +0000
commit9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 (patch)
tree08e36656c3bdc25b57021fdeb86cdc65901495ed /render/html.c
parent4539f8836e30b16982efab4e7c70191af171e7d5 (diff)
downloadnetsurf-9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6.tar.gz
netsurf-9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6.tar.bz2
Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/render/html.c b/render/html.c
index c8b6d0cb7..7f9692aed 100644
--- a/render/html.c
+++ b/render/html.c
@@ -78,7 +78,7 @@ static void html_close(struct content *c);
struct selection *html_get_selection(struct content *c);
struct search_context *html_get_search(struct content *c);
static nserror html_clone(const struct content *old, struct content **newc);
-static content_type html_content_type(lwc_string *mime_type);
+static content_type html_content_type(void);
static void html_finish_conversion(html_content *c);
static nserror html_convert_css_callback(hlcache_handle *css,
@@ -2402,10 +2402,9 @@ bool html_get_id_offset(hlcache_handle *h, const char *frag_id, int *x, int *y)
/**
* Compute the type of a content
*
- * \param c Content to consider
* \return CONTENT_HTML
*/
-content_type html_content_type(lwc_string *mime_type)
+content_type html_content_type(void)
{
return CONTENT_HTML;
}