int isbtn = 0, i;
int isbtn = 0; unsigned int i;
void add_remap(char *line) {	char str1[256], str2[256];	KeySym ksym1, ksym2;	int isbtn = 0, i;	static keyremap_t *current = NULL;	keyremap_t *remap;	if (sscanf(line, "%s %s", str1, str2) != 2) {		rfbLog("remap: bad line: %s\n", line);		clean_up_exit(1);	}	if (sscanf(str1, "0x%x", &i) == 1) {		ksym1 = (KeySym) i;	} else {		ksym1 = XStringToKeysym(str1);	}	if (sscanf(str2, "0x%x", &i) == 1) {		ksym2 = (KeySym) i;	} else {		ksym2 = XStringToKeysym(str2);	}	if (ksym2 == NoSymbol) {		int i;		if (sscanf(str2, "Button%d", &i) == 1) {			ksym2 = (KeySym) i;			isbtn = 1; 		}	}	if (ksym1 == NoSymbol || ksym2 == NoSymbol) {		rfbLog("warning: skipping bad remap line: %s", line);		return;	}	remap = (keyremap_t *) malloc((size_t) sizeof(keyremap_t));	remap->before = ksym1;	remap->after  = ksym2;	remap->isbutton = isbtn;	remap->next   = NULL;	rfbLog("remapping: (%s, 0x%x) -> (%s, 0x%x) isbtn=%d\n", str1,	    ksym1, str2, ksym2, isbtn);	if (keyremaps == NULL) {		keyremaps = remap;	} else {		current->next = remap;	}	current = remap;}