mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
tst-strftime2: Use array_length macros instead of magic numbers
ChangeLog: * time/tst-strftime2.c: Use array_length macros instead of magic numbers.
This commit is contained in:
parent
669ff911e2
commit
144a794e0a
@ -1,3 +1,8 @@
|
|||||||
|
2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
|
||||||
|
|
||||||
|
* time/tst-strftime2.c: Use array_length macros instead of magic
|
||||||
|
numbers.
|
||||||
|
|
||||||
2019-02-08 Florian Weimer <fweimer@redhat.com>
|
2019-02-08 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #24161]
|
[BZ #24161]
|
||||||
|
@ -41,7 +41,8 @@ static const struct
|
|||||||
{ 1, 3, 98 }
|
{ 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
|
static void
|
||||||
mkreftable (void)
|
mkreftable (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user