void add_command(const cmdinfo_t *ci)

{

    cmdtab = realloc((void *)cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *ci;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare);

}

void add_command(const cmdinfo_t *ci)

{

    cmdtab = realloc((void *)cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *ci;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare);

}

    cmdtab = realloc((void *)cmdtab, ++ncmds * sizeof(*cmdtab));
void FUNC_0(const cmdinfo_t *VAR_0)

{

    cmdtab = realloc((void *)cmdtab, ++ncmds * sizeof(*cmdtab));

    cmdtab[ncmds - 1] = *VAR_0;

    qsort(cmdtab, ncmds, sizeof(*cmdtab), compare);

}

void FUNC_0(const cmdinfo_t *VAR_0)
{ cmdtab = realloc((void *)cmdtab, ++ncmds * sizeof(*cmdtab)); cmdtab[ncmds - 1] = *VAR_0; qsort(cmdtab, ncmds, sizeof(*cmdtab), compare); }