summaryrefslogtreecommitdiff
path: root/content/handlers/image
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-06 18:02:17 +0100
committerVincent Sanders <vince@kyllikki.org>2019-10-06 18:02:17 +0100
commit972e13ca3f0986316bd134c80f7e04a31b8984f6 (patch)
treef25b4b946c0e1cac5657351236968261df6cf7d8 /content/handlers/image
parent4230366818da13b1d72c225ad19ef78e51b18222 (diff)
downloadnetsurf-972e13ca3f0986316bd134c80f7e04a31b8984f6.tar.gz
netsurf-972e13ca3f0986316bd134c80f7e04a31b8984f6.tar.bz2
remove unused external declaration and unecessary header use
Diffstat (limited to 'content/handlers/image')
-rw-r--r--content/handlers/image/bmp.h13
-rw-r--r--content/handlers/image/ico.c8
2 files changed, 9 insertions, 12 deletions
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 <http://www.gnu.org/licenses/>.
*/
-/** \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 <libnsbmp.h>
-
-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 <http://www.gnu.org/licenses/>.
*/
-/** \file
- * Content for image/ico (implementation)
+/**
+ * \file
+ * implementation for image/ico content handler
*/
#include <stdbool.h>
@@ -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;
/**