Add a few missing "static" keywords

This commit is contained in:
Ben Harris 2024-12-16 21:26:35 +00:00
parent 5b758ec94c
commit 32e6fd7599

View File

@ -166,7 +166,7 @@ static struct width {
};
static int const nwidths = sizeof(widths) / sizeof(widths[0]);
struct width const *width = &widths[0];
static struct width const *width = &widths[0];
/* Size of output pixels in font design units (usually 1000/em) */
#define XPIX (width->xpix)
@ -197,7 +197,7 @@ static struct weight {
static int const nweights = sizeof(weights) / sizeof(weights[0]);
struct weight const *weight = &weights[0];
static struct weight const *weight = &weights[0];
/* 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
@ -2700,7 +2700,7 @@ static struct gsub_feature {
static int const ngsub_features =
sizeof(gsub_features) / sizeof(gsub_features[0]);
struct gsub_script {
static struct gsub_script {
char const *tag;
unsigned int flag;
} const gsub_scripts[] = {