static int
ec_node_option_complete(const struct ec_node *gen_node,
struct ec_completed *completed,
- struct ec_parsed *parsed,
const struct ec_strvec *strvec)
{
struct ec_node_option *node = (struct ec_node_option *)gen_node;
- return ec_node_complete_child(node->child, completed, parsed, strvec);
+ return ec_node_complete_child(node->child, completed, strvec);
}
static void ec_node_option_free_priv(struct ec_node *gen_node)
struct ec_node *node;
int ret = 0;
- node = ec_node_option(NULL, ec_node_str(NULL, "foo"));
+ node = ec_node_option(EC_NO_ID, ec_node_str(EC_NO_ID, "foo"));
if (node == NULL) {
EC_LOG(EC_LOG_ERR, "cannot create node\n");
return -1;
ec_node_free(node);
/* test completion */
- node = ec_node_option(NULL, ec_node_str(NULL, "foo"));
+ node = ec_node_option(EC_NO_ID, ec_node_str(EC_NO_ID, "foo"));
if (node == NULL) {
EC_LOG(EC_LOG_ERR, "cannot create node\n");
return -1;