fixed -Wold-style-declaration compiler warnings

Example:
```
fontutils/fv1.c:36:1: error: ‘static’ is not at beginning of declaration [-Werror=old-style-declaration]
   36 | const static char FV1_SIGNATURE[] = {'F', 'N', 'T', '1'};
      | ^~~~~
```
This commit is contained in:
firewave
2023-10-20 18:07:55 +02:00
parent b2fed3e8fc
commit b4cf498144
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ struct utf8_encode_sub_test
};
// Used as the simple test in UTF-8-test.txt
const static char greek_kosme[] =
static const char greek_kosme[] =
"\xce\xba" // GREEK SMALL LETTER KAPPA
"\xe1\xbd\xb9" // GREEK SMALL LETTER OMICRON WITH OXIA
"\xcf\x83" // GREEK SMALL LETTER SIGMA
@@ -42,7 +42,7 @@ const static char greek_kosme[] =
"\xce\xb5"; // GREEK SMALL LETTER EPSILON
// See Issue #2603
const static char simple_test_with_emoji[] =
static const char simple_test_with_emoji[] =
"Simple Test."
"\xf0\x9f\x98\xa5"; // U+1F625 Disappointed But Relieved Face