summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-01-13 09:53:32 +0000
committerDave Chapman <dave@dchapman.com>2008-01-13 09:53:32 +0000
commit20b38238ab3b52672d30671f284705df0e175ed4 (patch)
tree0b8636b47787e08bec871dc31a2d53090c81dee5 /firmware/drivers/lcd-16bit.c
parent189f9e2be958c0ea9782cb281b36776c5d79c4e3 (diff)
Make the lcd_gradient_* functions static - they're not exported in lcd.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index 2a766d4006..20d30c572c 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -622,7 +622,7 @@ void lcd_fillrect(int x, int y, int width, int height)
}
/* Fill a rectangle with a gradient */
-void lcd_gradient_rect(int x1, int x2, int y, int h)
+static void lcd_gradient_rect(int x1, int x2, int y, int h)
{
int old_pattern = current_vp->fg_pattern;
@@ -655,8 +655,8 @@ void lcd_gradient_rect(int x1, int x2, int y, int h)
covers several lines, we need to know how many lines will be covered
(the num_lines arg), and which one is the current line within the selection
(the cur_line arg). */
-void lcd_gradient_rect_scroll(int x1, int x2, int y, int h,
- unsigned char num_lines, unsigned char cur_line)
+static void lcd_gradient_rect_scroll(int x1, int x2, int y, int h,
+ unsigned char num_lines, unsigned char cur_line)
{
if (h == 0 || num_lines == 0) return;