mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-04 16:44:14 +03:00
squash warnings about unused functions
squash warnings when using internal font plotter svn path=/trunk/netsurf/; revision=7053
This commit is contained in:
parent
5fb853c99d
commit
3154d42ee4
@ -489,11 +489,6 @@ static bool fb_32bpp_arc(int x, int y, int radius, int angle1, int angle2,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline colour ablend(colour pixel)
|
|
||||||
{
|
|
||||||
return pixel;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static bool fb_32bpp_bitmap(int x, int y, int width, int height,
|
static bool fb_32bpp_bitmap(int x, int y, int width, int height,
|
||||||
struct bitmap *bitmap, colour bg,
|
struct bitmap *bitmap, colour bg,
|
||||||
|
@ -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);
|
return fb_plotters_polygon(p, n, fill, fb_8bpp_line);
|
||||||
}
|
}
|
||||||
|
|
||||||
static colour calc_colour(uint8_t c)
|
|
||||||
{
|
|
||||||
return framebuffer->palette[c];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
find_closest_palette_entry(colour c)
|
find_closest_palette_entry(colour c)
|
||||||
{
|
{
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef WITH_HUBBUB
|
#ifdef WITH_HUBBUB
|
||||||
#include <hubbub/hubbub.h>
|
#include <hubbub/hubbub.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user