diff --git a/amiga/icon.c b/amiga/icon.c index 14df83721..ec927fb69 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -202,7 +202,6 @@ bool amiga_icon_clone(const struct content *old, struct content *new_content) return true; } -#endif /* WITH_AMIGA_ICON */ ULONG *amiga_icon_convertcolouricon32(UBYTE *icondata, ULONG width, ULONG height, ULONG trans, ULONG pals1, struct ColorRegister *pal1, int alpha) @@ -329,3 +328,10 @@ void ami_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type ICONPUTA_NotifyWorkbench, TRUE, TAG_DONE); } +#else + +void ami_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type) +{ +} + +#endif /* WITH_AMIGA_ICON */ diff --git a/amiga/icon.h b/amiga/icon.h index 0efc95136..a89cbdfb0 100644 --- a/amiga/icon.h +++ b/amiga/icon.h @@ -43,5 +43,7 @@ bool amiga_icon_clone(const struct content *old, struct content *new_content); #endif /* WITH_AMIGA_ICON */ +struct hlcache_handle; + void ami_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type); #endif