diff options
Diffstat (limited to 'fs/unicode/utf8-selftest.c')
-rw-r--r-- | fs/unicode/utf8-selftest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/unicode/utf8-selftest.c b/fs/unicode/utf8-selftest.c index 6c1a36bbf6ad..6fe8af7edccb 100644 --- a/fs/unicode/utf8-selftest.c +++ b/fs/unicode/utf8-selftest.c | |||
@@ -35,7 +35,7 @@ unsigned int total_tests; | |||
35 | #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) | 35 | #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) |
36 | #define test(cond) _test(cond, __func__, __LINE__, "") | 36 | #define test(cond) _test(cond, __func__, __LINE__, "") |
37 | 37 | ||
38 | const static struct { | 38 | static const struct { |
39 | /* UTF-8 strings in this vector _must_ be NULL-terminated. */ | 39 | /* UTF-8 strings in this vector _must_ be NULL-terminated. */ |
40 | unsigned char str[10]; | 40 | unsigned char str[10]; |
41 | unsigned char dec[10]; | 41 | unsigned char dec[10]; |
@@ -89,7 +89,7 @@ const static struct { | |||
89 | 89 | ||
90 | }; | 90 | }; |
91 | 91 | ||
92 | const static struct { | 92 | static const struct { |
93 | /* UTF-8 strings in this vector _must_ be NULL-terminated. */ | 93 | /* UTF-8 strings in this vector _must_ be NULL-terminated. */ |
94 | unsigned char str[30]; | 94 | unsigned char str[30]; |
95 | unsigned char ncf[30]; | 95 | unsigned char ncf[30]; |