diff --git a/riscos/content-handlers/artworks.h b/riscos/content-handlers/artworks.h index 20f6168b7..67832cc54 100644 --- a/riscos/content-handlers/artworks.h +++ b/riscos/content-handlers/artworks.h @@ -32,7 +32,10 @@ nserror artworks_init(void); #else -#define artworks_init() NSERROR_OK +static inline nserror artworks_init(void) +{ + return NSERROR_OK; +} #endif diff --git a/riscos/content-handlers/draw.h b/riscos/content-handlers/draw.h index 76fcbc8dc..9f5baf6dc 100644 --- a/riscos/content-handlers/draw.h +++ b/riscos/content-handlers/draw.h @@ -32,7 +32,10 @@ nserror draw_init(void); #else -#define draw_init() NSERROR_OK +static inline nserror draw_init(void) +{ + return NSERROR_OK; +} #endif /* WITH_DRAW */ diff --git a/riscos/content-handlers/sprite.h b/riscos/content-handlers/sprite.h index 2219e0679..ab6d312a5 100644 --- a/riscos/content-handlers/sprite.h +++ b/riscos/content-handlers/sprite.h @@ -32,7 +32,10 @@ nserror sprite_init(void); #else -#define sprite_init() NSERROR_OK +static inline nserror sprite_init(void) +{ + return NSERROR_OK; +} #endif