From: Ben Harris Date: Sun, 3 Nov 2024 17:02:21 +0000 (+0000) Subject: Move function declarations after structure declarations X-Git-Tag: bedstead-3.246~53 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=71addbd60513073241ee41f794c1ca5a90ccba0e;p=bedstead-debian.git Move function declarations after structure declarations --- 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 *);