summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
commit339bed72725fe901724440939558c5f9817107ed (patch)
treed2c3fda42a53d4d763f5901fd16e597ce065dd2e /image
parent3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (diff)
downloadnetsurf-339bed72725fe901724440939558c5f9817107ed.tar.gz
netsurf-339bed72725fe901724440939558c5f9817107ed.tar.bz2
Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
Diffstat (limited to 'image')
-rw-r--r--image/bmp.h1
-rw-r--r--image/gif.h1
-rw-r--r--image/ico.h1
-rw-r--r--image/image.c48
-rw-r--r--image/image.h1
-rw-r--r--image/jpeg.h1
-rw-r--r--image/mng.h3
-rw-r--r--image/nssprite.h1
-rw-r--r--image/png.h1
-rw-r--r--image/rsvg.h1
-rw-r--r--image/svg.h1
-rw-r--r--image/webp.h1
12 files changed, 0 insertions, 61 deletions
diff --git a/image/bmp.h b/image/bmp.h
index bdd8ffa5f..9c016ecdf 100644
--- a/image/bmp.h
+++ b/image/bmp.h
@@ -31,6 +31,5 @@
extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */
nserror nsbmp_init(void);
-void nsbmp_fini(void);
#endif
diff --git a/image/gif.h b/image/gif.h
index ebf821a51..a75821a96 100644
--- a/image/gif.h
+++ b/image/gif.h
@@ -25,6 +25,5 @@
#define _NETSURF_IMAGE_GIF_H_
nserror nsgif_init(void);
-void nsgif_fini(void);
#endif
diff --git a/image/ico.h b/image/ico.h
index 3b592d7b2..21e9bdb6e 100644
--- a/image/ico.h
+++ b/image/ico.h
@@ -24,6 +24,5 @@
#define _NETSURF_IMAGE_ICO_H_
nserror nsico_init(void);
-void nsico_fini(void);
#endif
diff --git a/image/image.c b/image/image.c
index 099b58ac0..cf5badc4d 100644
--- a/image/image.c
+++ b/image/image.c
@@ -114,51 +114,3 @@ nserror image_init(void)
return NSERROR_OK;
}
-/**
- * Finalise image content handlers
- */
-void image_fini(void)
-{
-#ifdef WITH_BMP
- nsbmp_fini();
-#endif
-
-#ifdef WITH_GIF
- nsgif_fini();
-#endif
-
-#ifdef WITH_BMP
- nsico_fini();
-#endif
-
-#ifdef WITH_JPEG
- nsjpeg_fini();
-#endif
-
-#ifdef WITH_MNG
- nsmng_fini();
- nsjpng_fini();
-#endif
-
-#ifdef WITH_NSSPRITE
- nssprite_fini();
-#endif
-
-#ifdef WITH_PNG
- nspng_fini();
-#endif
-
-#ifdef WITH_RSVG
- nsrsvg_fini();
-#endif
-
-#ifdef WITH_NS_SVG
- svg_fini();
-#endif
-
-#ifdef WITH_WEBP
- webp_fini();
-#endif
-
-}
-
diff --git a/image/image.h b/image/image.h
index 44ea148a8..7a698e54e 100644
--- a/image/image.h
+++ b/image/image.h
@@ -26,6 +26,5 @@
#include "utils/errors.h"
nserror image_init(void);
-void image_fini(void);
#endif
diff --git a/image/jpeg.h b/image/jpeg.h
index 163f8f286..8c054732b 100644
--- a/image/jpeg.h
+++ b/image/jpeg.h
@@ -24,6 +24,5 @@
#define _NETSURF_IMAGE_JPEG_H_
nserror nsjpeg_init(void);
-void nsjpeg_fini(void);
#endif
diff --git a/image/mng.h b/image/mng.h
index 69c88f362..7ad779904 100644
--- a/image/mng.h
+++ b/image/mng.h
@@ -26,7 +26,4 @@
nserror nsmng_init(void);
nserror nsjpng_init(void);
-void nsmng_fini(void);
-void nsjpng_fini(void);
-
#endif
diff --git a/image/nssprite.h b/image/nssprite.h
index daa31480b..38226f84e 100644
--- a/image/nssprite.h
+++ b/image/nssprite.h
@@ -24,6 +24,5 @@
#define _NETSURF_NS_SPRITE_H_
nserror nssprite_init(void);
-void nssprite_fini(void);
#endif
diff --git a/image/png.h b/image/png.h
index c14521ae8..3a2e3741f 100644
--- a/image/png.h
+++ b/image/png.h
@@ -21,6 +21,5 @@
#define _NETSURF_RISCOS_PNG_H_
nserror nspng_init(void);
-void nspng_fini(void);
#endif
diff --git a/image/rsvg.h b/image/rsvg.h
index 21e46d1b9..f38f8b0e8 100644
--- a/image/rsvg.h
+++ b/image/rsvg.h
@@ -24,6 +24,5 @@
#define _NETSURF_IMAGE_RSVG_H_
nserror nsrsvg_init(void);
-void nsrsvg_fini(void);
#endif
diff --git a/image/svg.h b/image/svg.h
index 149a3c85f..96b9c3879 100644
--- a/image/svg.h
+++ b/image/svg.h
@@ -24,6 +24,5 @@
#define _NETSURF_IMAGE_SVG_H_
nserror svg_init(void);
-void svg_fini(void);
#endif
diff --git a/image/webp.h b/image/webp.h
index cfc869fb2..0abfec8ec 100644
--- a/image/webp.h
+++ b/image/webp.h
@@ -24,6 +24,5 @@
#define _NETSURF_WEBP_H_
nserror webp_init(void);
-void webp_fini(void);
#endif