util/tests: Use define instead of VLA
authorDylan Baker <dylan@pnwbakers.com>
Tue, 22 May 2018 22:00:35 +0000 (15:00 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 3 May 2019 17:58:17 +0000 (10:58 -0700)
commit76338933e98209dbf278a2eee14f4dee66ec2374
treec3079bc2f32783017c1d7e072e30aaac2344d60a
parentff9bf223c24143260a975f45963eb90f40565c57
util/tests: Use define instead of VLA

To allow the this test to be built with MSVC, which doesn't support
VLAs.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/tests/hash_table/clear.c
src/util/tests/hash_table/delete_management.c
src/util/tests/hash_table/insert_many.c
src/util/tests/hash_table/meson.build
src/util/tests/hash_table/random_entry.c