chiark / gitweb /
Fix a stray global-scope variable.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 1 Aug 2017 17:25:32 +0000 (18:25 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 1 Aug 2017 17:25:32 +0000 (18:25 +0100)
bedstead.c

index f25123096050204f357c645a76013668007b8abc..4ade039a41906c427ba396d1e0fd835187583652 100644 (file)
  * 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) */