WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Tidy.

# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 897bb9b7ed0669c24a7ec990b96481563281511f
# Parent  c7f4a89eb054a1ad411da1e4cdc8aeda1a98c4fa
Tidy.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/ioemu/keymaps.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c7f4a89eb054 -r 897bb9b7ed06 tools/ioemu/keymaps.c
--- a/tools/ioemu/keymaps.c     Mon Dec 04 17:52:33 2006 +0000
+++ b/tools/ioemu/keymaps.c     Mon Dec 04 18:05:32 2006 +0000
@@ -137,13 +137,13 @@ static kbd_layout_t *parse_keyboard_layo
     }
     fclose(f);
 
-    for (int i = 0; i < MAX_NORMAL_KEYCODE; i++) {
+    for (i = 0; i < MAX_NORMAL_KEYCODE; i++) {
         if (k->keysym2numlock[i] != 1) {
             k->keysym2numlock[i] = -keycode2numlock[k->keysym2keycode[i]];
         }
     }
 
-    for (int i = 0; i < k->extra_count; i++) {
+    for (i = 0; i < k->extra_count; i++) {
         if (k->keysym2keycode_extra[i].numlock != 1) {
             k->keysym2keycode_extra[i].numlock =
                 -keycode2numlock[k->keysym2keycode_extra[i].keycode];

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Tidy., Xen patchbot-unstable <=