squash warnings about unused functions

squash warnings when using internal font plotter

svn path=/trunk/netsurf/; revision=7053
This commit is contained in:
Vincent Sanders 2009-04-06 16:22:20 +00:00
parent 5fb853c99d
commit 3154d42ee4
3 changed files with 1 additions and 11 deletions

View File

@ -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,

View File

@ -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)
{

View File

@ -22,6 +22,7 @@
#include <sys/ioctl.h>
#include <limits.h>
#include <unistd.h>
#include <string.h>
#ifdef WITH_HUBBUB
#include <hubbub/hubbub.h>