From 9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 3 Sep 2011 09:27:42 +0000 Subject: Remove mime_type parameter from content handler content_type callback API svn path=/trunk/netsurf/; revision=12704 --- image/bmp.c | 2 +- image/gif.c | 2 +- image/ico.c | 2 +- image/jpeg.c | 2 +- image/mng.c | 2 +- image/nssprite.c | 2 +- image/png.c | 2 +- image/rsvg.c | 2 +- image/svg.c | 2 +- image/webp.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'image') diff --git a/image/bmp.c b/image/bmp.c index fdf64d9dc..aea6d26fc 100644 --- a/image/bmp.c +++ b/image/bmp.c @@ -251,7 +251,7 @@ static void *nsbmp_get_internal(const struct content *c, void *context) return bmp->bitmap; } -static content_type nsbmp_content_type(lwc_string *mime_type) +static content_type nsbmp_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/gif.c b/image/gif.c index 88cc22147..aa05a8c81 100644 --- a/image/gif.c +++ b/image/gif.c @@ -411,7 +411,7 @@ static void *nsgif_get_internal(const struct content *c, void *context) return gif->bitmap; } -static content_type nsgif_content_type(lwc_string *mime_type) +static content_type nsgif_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/ico.c b/image/ico.c index f12e0cccb..6a8da57ea 100644 --- a/image/ico.c +++ b/image/ico.c @@ -219,7 +219,7 @@ static void *nsico_get_internal(const struct content *c, void *context) return ico->bitmap; } -static content_type nsico_content_type(lwc_string *mime_type) +static content_type nsico_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/jpeg.c b/image/jpeg.c index 29fd0bf5c..ec1be8eab 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -345,7 +345,7 @@ static void *nsjpeg_get_internal(const struct content *c, void *context) return jpeg_c->bitmap; } -static content_type nsjpeg_content_type(lwc_string *mime_type) +static content_type nsjpeg_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/mng.c b/image/mng.c index f0eff4b69..396cd6b94 100644 --- a/image/mng.c +++ b/image/mng.c @@ -770,7 +770,7 @@ static void *nsmng_get_internal(const struct content *c, void *context) return mng->bitmap; } -static content_type nsmng_content_type(lwc_string *mime_type) +static content_type nsmng_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/nssprite.c b/image/nssprite.c index 4e6b659e1..7789d8df9 100644 --- a/image/nssprite.c +++ b/image/nssprite.c @@ -226,7 +226,7 @@ static void *nssprite_get_internal(const struct content *c, void *context) return nssprite->bitmap; } -static content_type nssprite_content_type(lwc_string *mime_type) +static content_type nssprite_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/png.c b/image/png.c index 66826bb3d..b2dc0e145 100644 --- a/image/png.c +++ b/image/png.c @@ -418,7 +418,7 @@ static void *nspng_get_internal(const struct content *c, void *context) return png_c->bitmap; } -static content_type nspng_content_type(lwc_string *mime_type) +static content_type nspng_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/rsvg.c b/image/rsvg.c index 691e03370..68d677054 100644 --- a/image/rsvg.c +++ b/image/rsvg.c @@ -297,7 +297,7 @@ static void *rsvg_get_internal(const struct content *c, void *context) return d->bitmap; } -static content_type rsvg_content_type(lwc_string *mime_type) +static content_type rsvg_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/svg.c b/image/svg.c index 43f456bd6..698d20d55 100644 --- a/image/svg.c +++ b/image/svg.c @@ -319,7 +319,7 @@ static nserror svg_clone(const struct content *old, struct content **newc) return NSERROR_OK; } -static content_type svg_content_type(lwc_string *mime_type) +static content_type svg_content_type(void) { return CONTENT_IMAGE; } diff --git a/image/webp.c b/image/webp.c index 714e44c5c..eba155492 100644 --- a/image/webp.c +++ b/image/webp.c @@ -200,7 +200,7 @@ static void *webp_get_internal(const struct content *c, void *context) return webp->bitmap; } -static content_type webp_content_type(lwc_string *mime_type) +static content_type webp_content_type(void) { return CONTENT_IMAGE; } -- cgit v1.2.3