static const struct tvec_vardef timeout_var =
{ sizeof(struct tvec_reg), setvar,
- { "@timeout", -1, &tvty_duration, 0 } };
+ { "@timeout", &tvty_duration, -1, 0 } };
static const struct tvec_iassoc timer_assocs[] = {
{ "REAL", ITIMER_REAL },
{ "interval-timer", timer_assocs, &tvrange_int };
static const struct tvec_vardef timer_var =
{ sizeof(struct tvec_reg), setvar,
- { "@timer", -1, &tvty_ienum, 0, { &timer_enum } } };
+ { "@timer", &tvty_ienum, -1, 0, { &timer_enum } } };
const struct tvec_vardef *tvec_timeoutfindvar
(struct tvec_state *tv, const char *var, void **ctx_out, void *ctx)