chiark / gitweb /
@@@ tvec wip
[mLib] / utils / t / versioncmp-test.c
index e7244c609a8700f815cb6abda01dd047c455d7d8..5e13e155e5f0f7685fb7ae544b7e784e74cba4e3 100644 (file)
@@ -54,12 +54,12 @@ static const struct tvec_regdef versioncmp_regs[] = {
   { "v0", RV0, &tvty_string, 0 },
   { "v1", RV1, &tvty_string, 0 },
   { "rc", RRC, &tvty_int, 0, { &cmp_range } },
-  { 0, 0, 0, 0 }
+  TVEC_ENDREGS
 };
 
 static const struct tvec_test tests[] = {
   { "versioncmp", versioncmp_regs, &swap_testenv, test_versioncmp },
-  { 0, 0, 0, 0 }
+  TVEC_ENDTESTS
 };
 
 static const struct tvec_config testconfig =