From 3154d42ee46e5e3cada60ec53fe5843edecca66c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 6 Apr 2009 16:22:20 +0000 Subject: squash warnings about unused functions squash warnings when using internal font plotter svn path=/trunk/netsurf/; revision=7053 --- framebuffer/fb_32bpp_plotters.c | 5 ----- framebuffer/fb_8bpp_plotters.c | 6 ------ framebuffer/fb_gui.c | 1 + 3 files changed, 1 insertion(+), 11 deletions(-) (limited to 'framebuffer') 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 #include #include +#include #ifdef WITH_HUBBUB #include -- cgit v1.2.3