nbuttons++;
void radioline(struct ctlpos *cp, char *text, int id, int nacross, ...){    va_list ap;    struct radio *buttons;    int i, nbuttons;    va_start(ap, nacross);    nbuttons = 0;    while (1) {	char *btext = va_arg(ap, char *);	int bid;	if (!btext)	    break;	bid = va_arg(ap, int);    }    va_end(ap);    buttons = snewn(nbuttons, struct radio);    va_start(ap, nacross);    for (i = 0; i < nbuttons; i++) {	buttons[i].text = va_arg(ap, char *);	buttons[i].id = va_arg(ap, int);    }    va_end(ap);    radioline_common(cp, text, id, nacross, buttons, nbuttons);    sfree(buttons);}