chiark / gitweb /
Add a few missing "static" keywords
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 16 Dec 2024 21:26:35 +0000 (21:26 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 16 Dec 2024 21:26:35 +0000 (21:26 +0000)
bedstead.c

index 74823595405dc04cf6e851480f2f1c295628d121..85d5f5841429b4b46826aa1931c338ca9f4457c1 100644 (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[] = {