ia64/xen-unstable

changeset 12790:897bb9b7ed06

Tidy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Mon Dec 04 18:05:32 2006 +0000 (2006-12-04)
parents c7f4a89eb054
children a2618d3912e7
files tools/ioemu/keymaps.c
line diff
     1.1 --- a/tools/ioemu/keymaps.c	Mon Dec 04 17:52:33 2006 +0000
     1.2 +++ b/tools/ioemu/keymaps.c	Mon Dec 04 18:05:32 2006 +0000
     1.3 @@ -137,13 +137,13 @@ static kbd_layout_t *parse_keyboard_layo
     1.4      }
     1.5      fclose(f);
     1.6  
     1.7 -    for (int i = 0; i < MAX_NORMAL_KEYCODE; i++) {
     1.8 +    for (i = 0; i < MAX_NORMAL_KEYCODE; i++) {
     1.9          if (k->keysym2numlock[i] != 1) {
    1.10              k->keysym2numlock[i] = -keycode2numlock[k->keysym2keycode[i]];
    1.11          }
    1.12      }
    1.13  
    1.14 -    for (int i = 0; i < k->extra_count; i++) {
    1.15 +    for (i = 0; i < k->extra_count; i++) {
    1.16          if (k->keysym2keycode_extra[i].numlock != 1) {
    1.17              k->keysym2keycode_extra[i].numlock =
    1.18                  -keycode2numlock[k->keysym2keycode_extra[i].keycode];