{
static struct ec_completed *c;
static struct ec_completed_iter *iter;
- static const struct ec_completed_elt *elt;
+ static const struct ec_completed_item *item;
char *out_string;
static int show_help(int ignore, int invoking_key)
{
- const struct ec_completed_elt *elt;
+ const struct ec_completed_item *item;
struct ec_completed_iter *iter;
struct ec_completed *c;
struct ec_parsed *p;
goto fail;
/* strangely, rl_display_match_list() expects first index at 1 */
- for (i = match + 1, elt = ec_completed_iter_next(iter);
- i < count + match + 1 && elt != NULL;
- i++, elt = ec_completed_iter_next(iter)) {
- helps[i] = get_node_help(elt);
+ for (i = match + 1, item = ec_completed_iter_next(iter);
+ i < count + match + 1 && item != NULL;
+ i++, item = ec_completed_iter_next(iter)) {
+ helps[i] = get_node_help(item);
}
ec_completed_free(c);