From 71addbd60513073241ee41f794c1ca5a90ccba0e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 3 Nov 2024 17:02:21 +0000 Subject: [PATCH] Move function declarations after structure declarations --- bedstead.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bedstead.c b/bedstead.c index 3af9c02..706adf1 100644 --- a/bedstead.c +++ b/bedstead.c @@ -192,15 +192,6 @@ static int const nweights = sizeof(weights) / sizeof(weights[0]); struct weight const *weight = &weights[0]; -static void dochar(char const data[YSIZE], unsigned flags); -static void dochar_plotter(char const data[YSIZE], unsigned flags); -static void domosaic(unsigned code, bool sep); -static void domosaic4(unsigned code, bool sep); -static void dopanose(void); -static void docmap(int pid, int eid, int format); -static void glyph_complement(void); -static void bdf_gen(int size); - /* U(N) sets the code point and name of a glyph not in AGLFN */ #define U(N) 0x ## N, 0x ## N >= 0x10000 ? "u" #N : "uni" #N #define ALIAS(alias, canonical) {{.alias_of=canonical},-1,alias,IS_ALIAS} @@ -2628,6 +2619,14 @@ static int const nglyphs = NGLYPHS; static struct glyph const *glyphs_by_name[NGLYPHS]; +static void dochar(char const data[YSIZE], unsigned flags); +static void dochar_plotter(char const data[YSIZE], unsigned flags); +static void domosaic(unsigned code, bool sep); +static void domosaic4(unsigned code, bool sep); +static void dopanose(void); +static void docmap(int pid, int eid, int format); +static void glyph_complement(void); +static void bdf_gen(int size); static void dolookups(struct glyph const *); static void doglyph(struct glyph const *); -- 2.30.2