X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/d23763dae4f649cc29a923298e0232ffdf608744..98ff9295493ed2b990f30768e11b18b6bc65eaa4:/test/t/tvec-test.c diff --git a/test/t/tvec-test.c b/test/t/tvec-test.c index a86f230..3840e80 100644 --- a/test/t/tvec-test.c +++ b/test/t/tvec-test.c @@ -44,28 +44,28 @@ static const struct tvec_iassoc ienum_assocs[] = { { "less", -1 }, { "equal", 0 }, { "greater", +1 }, - { 0 } + TVEC_ENDENUM }; static const struct tvec_uassoc uenum_assocs[] = { { "apple", 0 }, { "banana", 1 }, { "clementine", 2 }, - { 0 } + TVEC_ENDENUM }; static const struct tvec_fassoc fenum_assocs[] = { { "e", 2.718281828459045 }, { "pi", 3.141592653589793 }, { "tau", 6.283185307179586 }, - { 0 } + TVEC_ENDENUM }; static const struct tvec_passoc penum_assocs[] = { { "alice", &uenum_assocs[0] }, { "bob", &uenum_assocs[1] }, { "carol", &uenum_assocs[2] }, - { 0 } + TVEC_ENDENUM }; #if __STDC_VERSION__ >= 199901 @@ -114,7 +114,7 @@ static const struct tvec_flag attr_flags[] = { { "bright", 0x40, 0x40 }, { "flash", 0x80, 0x80 }, - { 0 } + TVEC_ENDFLAGS }; static const struct tvec_flaginfo attr_info =