void *ctx)
{ out[RRC].v.i = versioncmp(in[RV0].v.str.p, in[RV1].v.str.p); }
-static void swap_test(struct tvec_state *tv)
+static int swap_test(struct tvec_state *tv)
{
struct tvec_reg rt;
rt = tv->in[RV0]; tv->in[RV0] = tv->in[RV1]; tv->in[RV1] = rt;
tv->in[RRC].v.i = -tv->in[RRC].v.i;
tv->test->fn(tv->in, tv->out, 0); tvec_check(tv, "swapped");
+ return (0);
}
static const struct tvec_irange cmp_range = { -1, +1 };