From 972e13ca3f0986316bd134c80f7e04a31b8984f6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 6 Oct 2019 18:02:17 +0100 Subject: remove unused external declaration and unecessary header use --- content/handlers/image/bmp.h | 13 +++++-------- content/handlers/image/ico.c | 8 ++++---- 2 files changed, 9 insertions(+), 12 deletions(-) (limited to 'content/handlers') 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; /** -- cgit v1.2.3