summaryrefslogtreecommitdiff
path: root/riscos/content-handlers
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/content-handlers')
-rw-r--r--riscos/content-handlers/artworks.c4
-rw-r--r--riscos/content-handlers/draw.c4
-rw-r--r--riscos/content-handlers/sprite.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/riscos/content-handlers/artworks.c b/riscos/content-handlers/artworks.c
index ffbd7835e..a669dce14 100644
--- a/riscos/content-handlers/artworks.c
+++ b/riscos/content-handlers/artworks.c
@@ -113,7 +113,7 @@ static void artworks_destroy(struct content *c);
static bool artworks_redraw(struct content *c, struct content_redraw_data *data,
const struct rect *clip, const struct redraw_context *ctx);
static nserror artworks_clone(const struct content *old, struct content **newc);
-static content_type artworks_content_type(lwc_string *mime_type);
+static content_type artworks_content_type(void);
static const content_handler artworks_content_handler = {
.create = artworks_create,
@@ -468,7 +468,7 @@ nserror artworks_clone(const struct content *old, struct content **newc)
return NSERROR_OK;
}
-content_type artworks_content_type(lwc_string *mime_type)
+content_type artworks_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/riscos/content-handlers/draw.c b/riscos/content-handlers/draw.c
index 5f3865921..536ee0516 100644
--- a/riscos/content-handlers/draw.c
+++ b/riscos/content-handlers/draw.c
@@ -53,7 +53,7 @@ static void draw_destroy(struct content *c);
static bool draw_redraw(struct content *c, struct content_redraw_data *data,
const struct rect *clip, const struct redraw_context *ctx);
static nserror draw_clone(const struct content *old, struct content **newc);
-static content_type draw_content_type(lwc_string *mime_type);
+static content_type draw_content_type(void);
static const content_handler draw_content_handler = {
.create = draw_create,
@@ -281,7 +281,7 @@ nserror draw_clone(const struct content *old, struct content **newc)
return NSERROR_OK;
}
-content_type draw_content_type(lwc_string *mime_type)
+content_type draw_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/riscos/content-handlers/sprite.c b/riscos/content-handlers/sprite.c
index 9260703f4..f93deaa60 100644
--- a/riscos/content-handlers/sprite.c
+++ b/riscos/content-handlers/sprite.c
@@ -55,7 +55,7 @@ static void sprite_destroy(struct content *c);
static bool sprite_redraw(struct content *c, struct content_redraw_data *data,
const struct rect *clip, const struct redraw_context *ctx);
static nserror sprite_clone(const struct content *old, struct content **newc);
-static content_type sprite_content_type(lwc_string *mime_type);
+static content_type sprite_content_type(void);
static const content_handler sprite_content_handler = {
.create = sprite_create,
@@ -254,7 +254,7 @@ nserror sprite_clone(const struct content *old, struct content **newc)
return NSERROR_OK;
}
-content_type sprite_content_type(lwc_string *mime_type)
+content_type sprite_content_type(void)
{
return CONTENT_IMAGE;
}