Message ID | 201902080201.AA04236@tamuki.linet.gr.jp |
---|---|
State | New |
Headers | show |
Series | [v3] tst-strftime2: Use array_length macros instead of magic numbers | expand |
diff --git a/time/tst-strftime2.c b/time/tst-strftime2.c index 57d2144..3dca2a9 100644 --- a/time/tst-strftime2.c +++ b/time/tst-strftime2.c @@ -41,7 +41,8 @@ static const struct { 1, 3, 98 } }; -static char ref[3][3][6][100]; +static char ref[array_length (locales)][array_length (formats)] + [array_length (dates)][100]; static void mkreftable (void)