* keyboard.c (process_pending_signals): Define only if SYNC_INPUT.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Apr 2012 21:26:18 +0000 (14:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Apr 2012 21:26:18 +0000 (14:26 -0700)
It is never used otherwise.

src/ChangeLog
src/keyboard.c

index a6fcc80..a310125 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * keyboard.c (process_pending_signals): Define only if SYNC_INPUT.
+       It is never used otherwise.
+
 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * print.c (print_preprocess): Only check print_depth if print-circle
index 9ff19d6..d55a726 100644 (file)
@@ -7196,6 +7196,7 @@ handle_async_input (void)
 #endif
 }
 
+#ifdef SYNC_INPUT
 void
 process_pending_signals (void)
 {
@@ -7203,6 +7204,7 @@ process_pending_signals (void)
     handle_async_input ();
   do_pending_atimers ();
 }
+#endif
 
 #ifdef SIGIO   /* for entire page */
 /* Note SIGIO has been undef'd if FIONREAD is missing.  */