From: Ben Harris Date: Tue, 1 Aug 2017 17:25:32 +0000 (+0100) Subject: Fix a stray global-scope variable. X-Git-Tag: bedstead-002.000~101 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=805dfe54378c6c231d2abe4445dba930acb9d6b6;p=bedstead.git Fix a stray global-scope variable. --- diff --git a/bedstead.c b/bedstead.c index f251230..4ade039 100644 --- a/bedstead.c +++ b/bedstead.c @@ -125,14 +125,12 @@ * to 124 so that XQTR will be precisely an integer. */ -struct width { +static struct width { char const * option; char const * fullname; int xpix; int ttfwidth; -}; - -struct width const widths[] = { +} const widths[] = { { "--normal", "Bedstead", @@ -172,7 +170,6 @@ struct width const widths[] = { }; static int const nwidths = sizeof(widths) / sizeof(widths[0]); - struct width const *width = &widths[0]; /* Size of output pixels in font design units (usually 1000/em) */