static struct pathelem *add_entry(struct pathelem *root, const char *name)

{

    root->num_entries++;



    root = realloc(root, sizeof(*root)

                   + sizeof(root->entries[0])*root->num_entries);



    root->entries[root->num_entries-1] = new_entry(root->pathname, root, name);

    root->entries[root->num_entries-1]

        = add_dir_maybe(root->entries[root->num_entries-1]);

    return root;

}

static struct pathelem *add_entry(struct pathelem *root, const char *name)

{

    root->num_entries++;



    root = realloc(root, sizeof(*root)

                   + sizeof(root->entries[0])*root->num_entries);



    root->entries[root->num_entries-1] = new_entry(root->pathname, root, name);

    root->entries[root->num_entries-1]

        = add_dir_maybe(root->entries[root->num_entries-1]);

    return root;

}

static struct pathelem *add_entry(struct pathelem *root, const char *name)     root->entries[root->num_entries-1] = new_entry(root->pathname, root, name);     root->entries[root->num_entries-1]         = add_dir_maybe(root->entries[root->num_entries-1]);
static struct pathelem *FUNC_0(struct pathelem *VAR_0, const char *VAR_1)

{

    VAR_0->num_entries++;



    VAR_0 = realloc(VAR_0, sizeof(*VAR_0)

                   + sizeof(VAR_0->entries[0])*VAR_0->num_entries);



    VAR_0->entries[VAR_0->num_entries-1] = new_entry(VAR_0->pathname, VAR_0, VAR_1);

    VAR_0->entries[VAR_0->num_entries-1]

        = add_dir_maybe(VAR_0->entries[VAR_0->num_entries-1]);

    return VAR_0;

}

static struct pathelem *FUNC_0(struct pathelem *VAR_0, const char *VAR_1)
{ VAR_0->num_entries++; VAR_0 = realloc(VAR_0, sizeof(*VAR_0)
+ sizeof(VAR_0->entries[0])*VAR_0->num_entries); VAR_0->entries[VAR_0->num_entries-1] = new_entry(VAR_0->pathname, VAR_0, VAR_1); VAR_0->entries[VAR_0->num_entries-1]
= add_dir_maybe(VAR_0->entries[VAR_0->num_entries-1]); return VAR_0; }