about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorTAMUKI Shoichi <tamuki@linet.gr.jp>2019-02-08 22:03:14 +0900
committerTAMUKI Shoichi <tamuki@linet.gr.jp>2019-02-08 22:03:14 +0900
commit144a794e0a1670dfc7a178637c7f35b5910c42ec (patch)
tree577ac6b6e78edafcc7d8b4cd1d25d18d04cfc631 /time
parent669ff911e2571f74a2668493e326ac9a505776bd (diff)
downloadglibc-144a794e0a1670dfc7a178637c7f35b5910c42ec.tar.gz
glibc-144a794e0a1670dfc7a178637c7f35b5910c42ec.tar.xz
glibc-144a794e0a1670dfc7a178637c7f35b5910c42ec.zip
tst-strftime2: Use array_length macros instead of magic numbers
ChangeLog:

	* time/tst-strftime2.c: Use array_length macros instead of magic
	numbers.
Diffstat (limited to 'time')
-rw-r--r--time/tst-strftime2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/tst-strftime2.c b/time/tst-strftime2.c
index 57d2144c83..3dca2a997f 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)