r5451 joty - in /trunk/netsurf/image: bmp.h ico.c

netsurf at semichrome.net netsurf at semichrome.net
Sun Sep 28 14:31:56 BST 2008


Author: joty
Date: Sun Sep 28 08:31:55 2008
New Revision: 5451

URL: http://source.netsurf-browser.org?rev=5451&view=rev
Log:
One warning less.

Modified:
    trunk/netsurf/image/bmp.h
    trunk/netsurf/image/ico.c

Modified: trunk/netsurf/image/bmp.h
URL: http://source.netsurf-browser.org/trunk/netsurf/image/bmp.h?rev=5451&r1=5450&r2=5451&view=diff
==============================================================================
--- trunk/netsurf/image/bmp.h (original)
+++ trunk/netsurf/image/bmp.h Sun Sep 28 08:31:55 2008
@@ -38,6 +38,8 @@
 	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);

Modified: trunk/netsurf/image/ico.c
URL: http://source.netsurf-browser.org/trunk/netsurf/image/ico.c?rev=5451&r1=5450&r2=5451&view=diff
==============================================================================
--- trunk/netsurf/image/ico.c (original)
+++ trunk/netsurf/image/ico.c Sun Sep 28 08:31:55 2008
@@ -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");




More information about the netsurf-commits mailing list