mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-30 15:33:25 -04:00
No more global-scoped functions or variables.
Apart from main(), of course. Everything else is now file-scoped at most. This is more consistent, and might allow for more optimisations (if I ever used -O).
This commit is contained in:
parent
00193c98de
commit
d67fd2c692
@ -189,14 +189,14 @@ struct param const *param = ¶ms[0];
|
||||
#define XQTR_S (XPIX_S/4)
|
||||
#define YQTR_S (YPIX_S/4)
|
||||
|
||||
void doprologue(void);
|
||||
void dochar(char const data[YSIZE], unsigned flags);
|
||||
static void doprologue(void);
|
||||
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 dopanose(void);
|
||||
static void glyph_complement(void);
|
||||
|
||||
struct glyph {
|
||||
static struct glyph {
|
||||
char data[YSIZE];
|
||||
int unicode;
|
||||
char const *name;
|
||||
@ -1907,7 +1907,7 @@ whitepixel(int x, int y, int bl, int br, int tr, int tl)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
dochar(char const data[YSIZE], unsigned flags)
|
||||
{
|
||||
int x, y;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user