From 32e6fd75996f6aedbb4c3d40a39eb05d3f5db11e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 16 Dec 2024 21:26:35 +0000 Subject: [PATCH] Add a few missing "static" keywords --- bedstead.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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[] = { -- 2.30.2