From: Paul Eggert Date: Fri, 20 Apr 2012 21:26:18 +0000 (-0700) Subject: * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. X-Git-Tag: emacs-24.2.90~471^2~329 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f38dff7b3e82b8b054927cda25620b4eac3239c;p=emacs.git * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. It is never used otherwise. --- 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 + + * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. + It is never used otherwise. + 2012-04-20 Stefan Monnier * 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. */