From 2f38dff7b3e82b8b054927cda25620b4eac3239c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 20 Apr 2012 14:26:18 -0700 Subject: [PATCH] * keyboard.c (process_pending_signals): Define only if SYNC_INPUT. It is never used otherwise. --- src/ChangeLog | 5 +++++ src/keyboard.c | 2 ++ 2 files changed, 7 insertions(+) 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. */ -- 2.39.2