From 805dfe54378c6c231d2abe4445dba930acb9d6b6 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 1 Aug 2017 18:25:32 +0100 Subject: [PATCH] Fix a stray global-scope variable. --- bedstead.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) */ -- 2.30.2