diff options
Diffstat (limited to 'apps/plugins/lib/xlcd_draw.c')
-rw-r--r-- | apps/plugins/lib/xlcd_draw.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/plugins/lib/xlcd_draw.c b/apps/plugins/lib/xlcd_draw.c index accf3b4f4b..506fe99877 100644 --- a/apps/plugins/lib/xlcd_draw.c +++ b/apps/plugins/lib/xlcd_draw.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include "xlcd.h" | 26 | #include "xlcd.h" |
27 | 27 | ||
28 | /* sort the given coordinates by increasing x value */ | 28 | /* sort the given coordinates by increasing x value */ |
29 | void sort_points_by_increasing_x(int* x1, int* y1, | 29 | static void sort_points_by_increasing_x(int* x1, int* y1, |
30 | int* x2, int* y2, | 30 | int* x2, int* y2, |
31 | int* x3, int* y3) | 31 | int* x3, int* y3) |
32 | { | 32 | { |
33 | int x, y; | 33 | int x, y; |
34 | if (*x1 > *x3) | 34 | if (*x1 > *x3) |
@@ -69,10 +69,10 @@ void sort_points_by_increasing_x(int* x1, int* y1, | |||
69 | sort_points_by_increasing_x(y1, x1, y2, x2, y3, x3) | 69 | sort_points_by_increasing_x(y1, x1, y2, x2, y3, x3) |
70 | 70 | ||
71 | /* draw a filled triangle, using horizontal lines for speed */ | 71 | /* draw a filled triangle, using horizontal lines for speed */ |
72 | void xlcd_filltriangle_horizontal(struct screen* display, | 72 | static void xlcd_filltriangle_horizontal(struct screen* display, |
73 | int x1, int y1, | 73 | int x1, int y1, |
74 | int x2, int y2, | 74 | int x2, int y2, |
75 | int x3, int y3) | 75 | int x3, int y3) |
76 | { | 76 | { |
77 | long fp_x1, fp_x2, fp_dx1, fp_dx2; | 77 | long fp_x1, fp_x2, fp_dx1, fp_dx2; |
78 | int y; | 78 | int y; |
@@ -109,10 +109,10 @@ void xlcd_filltriangle_horizontal(struct screen* display, | |||
109 | } | 109 | } |
110 | 110 | ||
111 | /* draw a filled triangle, using vertical lines for speed */ | 111 | /* draw a filled triangle, using vertical lines for speed */ |
112 | void xlcd_filltriangle_vertical(struct screen* display, | 112 | static void xlcd_filltriangle_vertical(struct screen* display, |
113 | int x1, int y1, | 113 | int x1, int y1, |
114 | int x2, int y2, | 114 | int x2, int y2, |
115 | int x3, int y3) | 115 | int x3, int y3) |
116 | { | 116 | { |
117 | long fp_y1, fp_y2, fp_dy1, fp_dy2; | 117 | long fp_y1, fp_y2, fp_dy1, fp_dy2; |
118 | int x; | 118 | int x; |