diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-06 23:43:06 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-06 23:43:06 +0000 |
commit | b27b9fbf5810f981aac47d340bf710f31fe36ff4 (patch) | |
tree | baa4b9a02b7f648a8ade7f553745fc35962fd782 | |
parent | bcc0c0fde934d838b595806bc8a03c9331e60b93 (diff) | |
download | netsurf-b27b9fbf5810f981aac47d340bf710f31fe36ff4.tar.gz netsurf-b27b9fbf5810f981aac47d340bf710f31fe36ff4.tar.bz2 |
Fix compilation when WITH_AMIGA_ICON is not defined
svn path=/trunk/netsurf/; revision=11232
-rw-r--r-- | amiga/icon.c | 8 | ||||
-rw-r--r-- | amiga/icon.h | 2 |
2 files changed, 9 insertions, 1 deletions
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 |