}
static int
-complete_conf_node_start(cmdline_parse_token_hdr_t *tk, void **opaque)
+complete_conf_node_start(cmdline_parse_token_hdr_t *tk,
+ __attribute__((unused)) const char *tokstr,
+ void **opaque)
{
struct token_conf_node *tk2 = (struct token_conf_node *)tk;
struct token_conf_node_data *tkd = &tk2->conf_node_data;
cb = malloc(sizeof(*cb));
if (cb == NULL)
return -1;
+ *opaque = cb;
n = get_next_node(*tkd->cur, NULL, flags, mask);
if (n == NULL)
cb->start = *tkd->cur;
cb->cur = n;
- *opaque = cb;
return 0;
}