diff --git a/content/handlers/image/bmp.h b/content/handlers/image/bmp.h index f3b398584..d3d7623ed 100644 --- a/content/handlers/image/bmp.h +++ b/content/handlers/image/bmp.h @@ -17,16 +17,13 @@ * along with this program. If not, see . */ -/** \file - * Content for image/bmp (interface). +/** + * \file + * interface to image/bmp content handler initialisation. */ -#ifndef _NETSURF_IMAGE_BMP_H_ -#define _NETSURF_IMAGE_BMP_H_ - -#include - -extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */ +#ifndef NETSURF_IMAGE_BMP_H_ +#define NETSURF_IMAGE_BMP_H_ nserror nsbmp_init(void); diff --git a/content/handlers/image/ico.c b/content/handlers/image/ico.c index 1f320636b..fdaff829a 100644 --- a/content/handlers/image/ico.c +++ b/content/handlers/image/ico.c @@ -16,8 +16,9 @@ * along with this program. If not, see . */ -/** \file - * Content for image/ico (implementation) +/** + * \file + * implementation for image/ico content handler */ #include @@ -39,8 +40,7 @@ typedef struct nsico_content { struct content base; - struct ico_collection *ico; /** ICO collection data */ - + struct ico_collection *ico; /** ICO collection data */ } nsico_content; /**