From: Ben Harris Date: Mon, 16 Dec 2024 21:26:35 +0000 (+0000) Subject: Add a few missing "static" keywords X-Git-Tag: bedstead-3.251~71 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=32e6fd75996f6aedbb4c3d40a39eb05d3f5db11e;p=bedstead-debian.git Add a few missing "static" keywords --- diff --git a/bedstead.c b/bedstead.c index 7482359..85d5f58 100644 --- a/bedstead.c +++ b/bedstead.c @@ -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[] = {