diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/keyboard.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a6fcc80da8a..a3101252fe9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/keyboard.c b/src/keyboard.c index 9ff19d61d41..d55a726827e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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. */ |