X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/3efcfd2df21aa11bd9d1ba5ea2f5f490fd4d5b84..db2bf4111cde36048ac66bbac58547d105bc7e80:/utils/t/bits-test.c diff --git a/utils/t/bits-test.c b/utils/t/bits-test.c index a49990e..b4a515b 100644 --- a/utils/t/bits-test.c +++ b/utils/t/bits-test.c @@ -75,13 +75,13 @@ static const struct tvec_regdef shift_regs[] = { { "x", RX, &tvty_bytes, 0, { &ur_eight } }, { "n", RN, &tvty_uint, 0, { &ur_shift } }, { "z", RZ, &tvty_bytes, 0, { &ur_eight } }, - { 0, 0, 0, 0 } + TVEC_ENDREGS }; static const struct tvec_regdef arith_regs[] = { { "x", RX, &tvty_bytes, 0, { &ur_eight } }, { "y", RY, &tvty_bytes, 0, { &ur_eight } }, { "z", RZ, &tvty_bytes, 0, { &ur_eight } }, - { 0, 0, 0, 0 } + TVEC_ENDREGS }; static const struct tvec_test tests[] = { @@ -91,7 +91,7 @@ static const struct tvec_test tests[] = { { "ror64", shift_regs, 0, test_ROR }, { "add64", arith_regs, 0, test_ADD }, { "sub64", arith_regs, 0, test_SUB }, - { 0, 0, 0, 0 } + TVEC_ENDTESTS }; static const struct tvec_config testconfig =