From 392307bb1fdf4186f26300631fe3710d895cf7ce Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 18 Apr 2016 23:04:16 +0100 Subject: reduce content header interdependancy --- image/jpeg.c | 2 +- image/nssprite.c | 2 +- image/png.c | 2 +- image/svg.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'image') diff --git a/image/jpeg.c b/image/jpeg.c index 8e6ac8528..a9030be1e 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -61,7 +61,7 @@ static unsigned char nsjpeg_eoi[] = { 0xff, JPEG_EOI }; * Content create entry point. */ static nserror nsjpeg_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, + lwc_string *imime_type, const struct http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) { diff --git a/image/nssprite.c b/image/nssprite.c index c0c6ff1b9..e61566391 100644 --- a/image/nssprite.c +++ b/image/nssprite.c @@ -60,7 +60,7 @@ typedef struct nssprite_content { static nserror nssprite_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, + lwc_string *imime_type, const struct http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) { diff --git a/image/png.c b/image/png.c index 934252b7a..dfeac89e0 100644 --- a/image/png.c +++ b/image/png.c @@ -279,7 +279,7 @@ static nserror nspng_create_png_data(nspng_content *png_c) } static nserror nspng_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, + lwc_string *imime_type, const struct http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) { diff --git a/image/svg.c b/image/svg.c index 0bffbe836..63cdb3bf8 100644 --- a/image/svg.c +++ b/image/svg.c @@ -70,7 +70,7 @@ no_memory: */ static nserror svg_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, + lwc_string *imime_type, const struct http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) { -- cgit v1.2.3