summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-04-06 16:22:20 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-04-06 16:22:20 +0000
commit3154d42ee46e5e3cada60ec53fe5843edecca66c (patch)
treee5d949d591a47139dad2b0529c1fc051bb65c054 /framebuffer
parent5fb853c99d16b496e121143d56fddd5b7f5ad5d7 (diff)
downloadnetsurf-3154d42ee46e5e3cada60ec53fe5843edecca66c.tar.gz
netsurf-3154d42ee46e5e3cada60ec53fe5843edecca66c.tar.bz2
squash warnings about unused functions
squash warnings when using internal font plotter svn path=/trunk/netsurf/; revision=7053
Diffstat (limited to 'framebuffer')
-rw-r--r--framebuffer/fb_32bpp_plotters.c5
-rw-r--r--framebuffer/fb_8bpp_plotters.c6
-rw-r--r--framebuffer/fb_gui.c1
3 files changed, 1 insertions, 11 deletions
diff --git a/framebuffer/fb_32bpp_plotters.c b/framebuffer/fb_32bpp_plotters.c
index 6f61b2428..5b02bd26f 100644
--- a/framebuffer/fb_32bpp_plotters.c
+++ b/framebuffer/fb_32bpp_plotters.c
@@ -489,11 +489,6 @@ static bool fb_32bpp_arc(int x, int y, int radius, int angle1, int angle2,
return true;
}
-static inline colour ablend(colour pixel)
-{
- return pixel;
-}
-
static bool fb_32bpp_bitmap(int x, int y, int width, int height,
struct bitmap *bitmap, colour bg,
diff --git a/framebuffer/fb_8bpp_plotters.c b/framebuffer/fb_8bpp_plotters.c
index 777b89670..7616f4f07 100644
--- a/framebuffer/fb_8bpp_plotters.c
+++ b/framebuffer/fb_8bpp_plotters.c
@@ -64,12 +64,6 @@ static bool fb_8bpp_polygon(const int *p, unsigned int n, colour fill)
return fb_plotters_polygon(p, n, fill, fb_8bpp_line);
}
-static colour calc_colour(uint8_t c)
-{
- return framebuffer->palette[c];
-}
-
-
static int
find_closest_palette_entry(colour c)
{
diff --git a/framebuffer/fb_gui.c b/framebuffer/fb_gui.c
index a0466420b..82a66ba4c 100644
--- a/framebuffer/fb_gui.c
+++ b/framebuffer/fb_gui.c
@@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#include <limits.h>
#include <unistd.h>
+#include <string.h>
#ifdef WITH_HUBBUB
#include <hubbub/hubbub.h>