Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/972e13ca3f0986316bd134c80f7e04a31b8984f6
...commit
http://git.netsurf-browser.org/netsurf.git/commit/972e13ca3f0986316bd134c80f7e04a31b8984f6
...tree
http://git.netsurf-browser.org/netsurf.git/tree/972e13ca3f0986316bd134c80f7e04a31b8984f6
The branch, master has been updated
via 972e13ca3f0986316bd134c80f7e04a31b8984f6 (commit)
from 4230366818da13b1d72c225ad19ef78e51b18222 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=972e13ca3f0986316bd134c80f7e04a31b8984f6
commit 972e13ca3f0986316bd134c80f7e04a31b8984f6
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
remove unused external declaration and unecessary header use
diff --git a/content/handlers/image/bmp.h b/content/handlers/image/bmp.h
index f3b3985..d3d7623 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 1f32063..fdaff82 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;
/**
-----------------------------------------------------------------------
Summary of changes:
content/handlers/image/bmp.h | 13 +++++--------
content/handlers/image/ico.c | 8 ++++----
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/content/handlers/image/bmp.h b/content/handlers/image/bmp.h
index f3b3985..d3d7623 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 1f32063..fdaff82 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;
/**
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org