summaryrefslogtreecommitdiff
path: root/amiga/plugin_hack.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 /amiga/plugin_hack.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 'amiga/plugin_hack.c')
-rw-r--r--amiga/plugin_hack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c
index 72cba5e60..b37dac15b 100644
--- a/amiga/plugin_hack.c
+++ b/amiga/plugin_hack.c
@@ -53,7 +53,7 @@ static void amiga_plugin_hack_open(struct content *c, struct browser_window *bw,
struct object_params *params);
static void amiga_plugin_hack_close(struct content *c);
static nserror amiga_plugin_hack_clone(const struct content *old, struct content **newc);
-static content_type amiga_plugin_hack_content_type(lwc_string *mime_type);
+static content_type amiga_plugin_hack_content_type(void);
static const content_handler amiga_plugin_hack_content_handler = {
.create = amiga_plugin_hack_create,
@@ -234,7 +234,7 @@ nserror amiga_plugin_hack_clone(const struct content *old, struct content **newc
return NSERROR_OK;
}
-content_type amiga_plugin_hack_content_type(lwc_string *mime_type)
+content_type amiga_plugin_hack_content_type(void)
{
return CONTENT_PLUGIN;
}