Fix compilation when WITH_AMIGA_ICON is not defined

svn path=/trunk/netsurf/; revision=11232
This commit is contained in:
John Mark Bell 2011-01-06 23:43:06 +00:00
parent bcc0c0fde9
commit b27b9fbf58
2 changed files with 9 additions and 1 deletions

View File

@ -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 */

View File

@ -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