diff options
-rw-r--r-- | framebuffer/fb_32bpp_plotters.c | 5 | ||||
-rw-r--r-- | framebuffer/fb_8bpp_plotters.c | 6 | ||||
-rw-r--r-- | framebuffer/fb_gui.c | 1 |
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> |