summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-04-20 14:26:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-04-20 14:26:18 -0700
commit2f38dff7b3e82b8b054927cda25620b4eac3239c (patch)
treeca6872f468d34cada2ea08b1ec78a5b6312c654f /src/keyboard.c
parented571ccb1d14abc788a29c3b3bbf08aa4b951ab8 (diff)
downloademacs-2f38dff7b3e82b8b054927cda25620b4eac3239c.tar.gz
* keyboard.c (process_pending_signals): Define only if SYNC_INPUT.
It is never used otherwise.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
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. */