From 598b5fbbc18d57c765b9aa1cfbabb98f4bf9113f Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sun, 28 Sep 2008 13:31:55 +0000 Subject: One warning less. svn path=/trunk/netsurf/; revision=5451 --- image/bmp.h | 2 ++ image/ico.c | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/image/bmp.h b/image/bmp.h index fdbd74ff4..5bb044785 100644 --- a/image/bmp.h +++ b/image/bmp.h @@ -38,6 +38,8 @@ struct content_bmp_data { bmp_image *bmp; /** BMP image data */ }; +extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */ + bool nsbmp_create(struct content *c, const char *params[]); bool nsbmp_convert(struct content *c, int width, int height); void nsbmp_destroy(struct content *c); diff --git a/image/ico.c b/image/ico.c index 38bd4a164..aaa889eca 100644 --- a/image/ico.c +++ b/image/ico.c @@ -40,11 +40,6 @@ bool nsico_create(struct content *c, const char *params[]) { union content_msg_data msg_data; - extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /**< external - * structure - * containing - * bitmap callback - * functions */ c->data.ico.ico = calloc(sizeof(ico_collection), 1); if (!c->data.ico.ico) { msg_data.error = messages_get("NoMemory"); -- cgit v1.2.3