From 360f20b2878df8a5471764066cc4fd0af9d8abef Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 7 Jan 2011 23:47:21 +0000 Subject: ami_superimpose_favicon isn't dependent on Amiga icon loader svn path=/trunk/netsurf/; revision=11253 --- amiga/icon.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/amiga/icon.c b/amiga/icon.c index ec927fb69..eefcd7695 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -247,6 +247,8 @@ ULONG *amiga_icon_convertcolouricon32(UBYTE *icondata, ULONG width, ULONG height } +#endif /* WITH_AMIGA_ICON */ + void ami_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type) { struct DiskObject *dobj = NULL; @@ -327,11 +329,3 @@ void ami_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type PutIconTags(path, dobj, 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