X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=src%2Fecoli_node_empty.c;h=c6585aae8e7fda23629e9454f93bab2e834d27c7;hb=HEAD;hp=af3bae1cf4c1127894f3879494b8b7e89030c242;hpb=376f5016e3979247bf0db515e47df49ba1eb82ac;p=protos%2Flibecoli.git diff --git a/src/ecoli_node_empty.c b/src/ecoli_node_empty.c index af3bae1..c6585aa 100644 --- a/src/ecoli_node_empty.c +++ b/src/ecoli_node_empty.c @@ -22,11 +22,11 @@ struct ec_node_empty { }; static int ec_node_empty_parse(const struct ec_node *node, - struct ec_parse *state, + struct ec_pnode *pstate, const struct ec_strvec *strvec) { (void)node; - (void)state; + (void)pstate; (void)strvec; return 0; } @@ -34,7 +34,6 @@ static int ec_node_empty_parse(const struct ec_node *node, static struct ec_node_type ec_node_empty_type = { .name = "empty", .parse = ec_node_empty_parse, - .complete = ec_node_complete_unknown, .size = sizeof(struct ec_node_empty), }; @@ -63,11 +62,11 @@ static int ec_node_empty_testcase(void) return -1; } testres |= EC_TEST_CHECK_COMPLETE(node, - "", EC_NODE_ENDLIST, - EC_NODE_ENDLIST); + "", EC_VA_END, + EC_VA_END); testres |= EC_TEST_CHECK_COMPLETE(node, - "foo", EC_NODE_ENDLIST, - EC_NODE_ENDLIST); + "foo", EC_VA_END, + EC_VA_END); ec_node_free(node); return testres;