aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 10:55:46 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 10:55:46 +0100
commit6236912a117375da74793b24bd8a9ce9e3ef6b67 (patch)
tree72e6a0c8daa342ca2a4ef0f809bbcbfe447afd5d
parentTest and fix libfonts_calculate_subpixel_order (diff)
downloadlibfonts-6236912a117375da74793b24bd8a9ce9e3ef6b67.tar.gz
libfonts-6236912a117375da74793b24bd8a9ce9e3ef6b67.tar.bz2
libfonts-6236912a117375da74793b24bd8a9ce9e3ef6b67.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--libfonts_calculate_subpixel_order.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libfonts_calculate_subpixel_order.c b/libfonts_calculate_subpixel_order.c
index bba645b..81a58f6 100644
--- a/libfonts_calculate_subpixel_order.c
+++ b/libfonts_calculate_subpixel_order.c
@@ -134,7 +134,7 @@ known:
#else
-static int
+static void
test(int xtrans, int ytrans, int zscale, int xscale, int yscale)
{
#define T(IN, OUT, MAT)\
@@ -442,8 +442,6 @@ test(int xtrans, int ytrans, int zscale, int xscale, int yscale)
UNKNOWNX(GB_RB);
UNKNOWNX(RG_BB);
UNKNOWNX(BR_BG);
-
- return 0;
}
int