From b27b9fbf5810f981aac47d340bf710f31fe36ff4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 6 Jan 2011 23:43:06 +0000 Subject: Fix compilation when WITH_AMIGA_ICON is not defined svn path=/trunk/netsurf/; revision=11232 --- amiga/icon.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'amiga/icon.c') 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 */ -- cgit v1.2.3