diff options
author | James Bursa <james@netsurf-browser.org> | 2003-12-27 20:15:23 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-12-27 20:15:23 +0000 |
commit | ce0d5294d5898b6100269bd39d38c0884d5fd4b4 (patch) | |
tree | 3a073e5a6d069113c6272f108fcedd668cd186a8 /riscos | |
parent | 01c0332607e1e9646b74add201a6488ce5265844 (diff) | |
download | netsurf-ce0d5294d5898b6100269bd39d38c0884d5fd4b4.tar.gz netsurf-ce0d5294d5898b6100269bd39d38c0884d5fd4b4.tar.bz2 |
[project @ 2003-12-27 20:15:22 by bursa]
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/draw.c | 2 | ||||
-rw-r--r-- | riscos/draw.h | 2 | ||||
-rw-r--r-- | riscos/gif.c | 2 | ||||
-rw-r--r-- | riscos/gif.h | 2 | ||||
-rw-r--r-- | riscos/jpeg.c | 2 | ||||
-rw-r--r-- | riscos/jpeg.h | 2 | ||||
-rw-r--r-- | riscos/png.c | 2 | ||||
-rw-r--r-- | riscos/png.h | 2 | ||||
-rw-r--r-- | riscos/sprite.c | 2 | ||||
-rw-r--r-- | riscos/sprite.h | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/riscos/draw.c b/riscos/draw.c index 3068649c1..c215b38f6 100644 --- a/riscos/draw.c +++ b/riscos/draw.c @@ -14,7 +14,7 @@ #include "netsurf/utils/log.h" #include "oslib/drawfile.h" -void draw_create(struct content *c) +void draw_create(struct content *c, const char *params[]) { c->data.draw.data = xcalloc(0, 1); c->data.draw.length = 0; diff --git a/riscos/draw.h b/riscos/draw.h index b7eef6db3..e16734b97 100644 --- a/riscos/draw.h +++ b/riscos/draw.h @@ -16,7 +16,7 @@ struct content_draw_data { }; void draw_init(void); -void draw_create(struct content *c); +void draw_create(struct content *c, const char *params[]); void draw_process_data(struct content *c, char *data, unsigned long size); int draw_convert(struct content *c, unsigned int width, unsigned int height); void draw_revive(struct content *c, unsigned int width, unsigned int height); diff --git a/riscos/gif.c b/riscos/gif.c index 97ed89e76..7f2acb40b 100644 --- a/riscos/gif.c +++ b/riscos/gif.c @@ -26,7 +26,7 @@ void nsgif_init(void) { } -void nsgif_create(struct content*c) +void nsgif_create(struct content *c, const char *params[]) { c->data.gif.sprite_area = 0; c->data.gif.data = xcalloc(0, 1); diff --git a/riscos/gif.h b/riscos/gif.h index 4b59e533e..f0b2bad43 100644 --- a/riscos/gif.h +++ b/riscos/gif.h @@ -21,7 +21,7 @@ struct content_gif_data { }; void nsgif_init(void); -void nsgif_create(struct content *c); +void nsgif_create(struct content *c, const char *params[]); void nsgif_process_data(struct content *c, char *data, unsigned long size); int nsgif_convert(struct content *c, unsigned int width, unsigned int height); void nsgif_revive(struct content *c, unsigned int width, unsigned int height); diff --git a/riscos/jpeg.c b/riscos/jpeg.c index b1f62c169..db119484d 100644 --- a/riscos/jpeg.c +++ b/riscos/jpeg.c @@ -19,7 +19,7 @@ #include "oslib/jpeg.h" -void jpeg_create(struct content *c) +void jpeg_create(struct content *c, const char *params[]) { c->data.jpeg.data = xcalloc(0, 1); c->data.jpeg.length = 0; diff --git a/riscos/jpeg.h b/riscos/jpeg.h index 12a567755..26bf1d74a 100644 --- a/riscos/jpeg.h +++ b/riscos/jpeg.h @@ -15,7 +15,7 @@ struct content_jpeg_data { unsigned long length; }; -void jpeg_create(struct content *c); +void jpeg_create(struct content *c, const char *params[]); void jpeg_process_data(struct content *c, char *data, unsigned long size); int jpeg_convert(struct content *c, unsigned int width, unsigned int height); void jpeg_revive(struct content *c, unsigned int width, unsigned int height); diff --git a/riscos/png.c b/riscos/png.c index c6fbb3cfc..d56c5d827 100644 --- a/riscos/png.c +++ b/riscos/png.c @@ -64,7 +64,7 @@ void nspng_init(void) } -void nspng_create(struct content *c) +void nspng_create(struct content *c, const char *params[]) { #ifndef NO_IFC if (imagefileconvert) { diff --git a/riscos/png.h b/riscos/png.h index a64ddef2d..f52514b73 100644 --- a/riscos/png.h +++ b/riscos/png.h @@ -27,7 +27,7 @@ struct content_png_data { }; void nspng_init(void); -void nspng_create(struct content *c); +void nspng_create(struct content *c, const char *params[]); void nspng_process_data(struct content *c, char *data, unsigned long size); int nspng_convert(struct content *c, unsigned int width, unsigned int height); void nspng_revive(struct content *c, unsigned int width, unsigned int height); diff --git a/riscos/sprite.c b/riscos/sprite.c index 7470ea0b1..51c3a057c 100644 --- a/riscos/sprite.c +++ b/riscos/sprite.c @@ -15,7 +15,7 @@ #include "oslib/colourtrans.h" #include "oslib/osspriteop.h" -void sprite_create(struct content *c) +void sprite_create(struct content *c, const char *params[]) { c->data.sprite.data = xcalloc(4, 1); c->data.sprite.length = 4; diff --git a/riscos/sprite.h b/riscos/sprite.h index bef511ad0..5096081f7 100644 --- a/riscos/sprite.h +++ b/riscos/sprite.h @@ -18,7 +18,7 @@ struct content_sprite_data { }; void sprite_init(void); -void sprite_create(struct content *c); +void sprite_create(struct content *c, const char *params[]); void sprite_process_data(struct content *c, char *data, unsigned long size); int sprite_convert(struct content *c, unsigned int width, unsigned int height); void sprite_revive(struct content *c, unsigned int width, unsigned int height); |