diff src/event-stream.c @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 25f70ba0133c
children 8eaf7971accc
line wrap: on
line diff
--- a/src/event-stream.c	Mon Aug 13 09:45:48 2007 +0200
+++ b/src/event-stream.c	Mon Aug 13 09:46:53 2007 +0200
@@ -1219,7 +1219,7 @@
     }
 }
 
-int
+static int
 event_stream_wakeup_pending_p (int id, int async_p)
 {
   struct timeout *timeout;
@@ -3150,8 +3150,7 @@
           || (CHAR_OR_CHAR_INTP (key->keysym)
               && ((c = XCHAR_OR_CHAR_INT (key->keysym)), c >= 'A' && c <= 'Z')))
         {
-          struct Lisp_Event terminal_copy;
-          terminal_copy = *XEVENT (terminal);
+          struct Lisp_Event terminal_copy = *XEVENT (terminal);
           
           if (key->modifiers & MOD_SHIFT)
             key->modifiers &= (~ MOD_SHIFT);
@@ -3160,7 +3159,7 @@
 
           result = command_builder_find_leaf (builder, allow_misc_user_events_p);
           if (!NILP (result))
-            return (result);
+            return result;
           /* If there was no match with the lower-case version either,
              then put back the upper-case event for the error
              message.  But make sure that function-key-map didn't