aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2012-04-22 21:08:51 -0700
committerPaul Eggert2012-04-22 21:08:51 -0700
commit888bec305043c6576d82f9988c63694b8133e3fd (patch)
tree2f58a6e213b49e5016abe502c4cd432f8db4487e /src
parentd0baac98ac8f673ec56bc8b0b1fd7d280831b015 (diff)
downloademacs-888bec305043c6576d82f9988c63694b8133e3fd.tar.gz
emacs-888bec305043c6576d82f9988c63694b8133e3fd.zip
* keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
Problem reported by Juanma Barranquero for Windows -Wunused-function.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 410e6e01f45..825211aa8ce 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-04-23 Paul Eggert <eggert@cs.ucla.edu>
2
3 * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
4 Problem reported by Juanma Barranquero for Windows -Wunused-function.
5
12012-04-22 Paul Eggert <eggert@cs.ucla.edu> 62012-04-22 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Modernize and clean up gmalloc.c to assume C89 (Bug#9119). 8 Modernize and clean up gmalloc.c to assume C89 (Bug#9119).
diff --git a/src/keyboard.c b/src/keyboard.c
index d55a726827e..6fa0e4afc3f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7169,6 +7169,7 @@ tty_read_avail_input (struct terminal *terminal,
7169 return nread; 7169 return nread;
7170} 7170}
7171 7171
7172#if defined SYNC_INPUT || defined SIGIO
7172static void 7173static void
7173handle_async_input (void) 7174handle_async_input (void)
7174{ 7175{
@@ -7195,6 +7196,7 @@ handle_async_input (void)
7195 --handling_signal; 7196 --handling_signal;
7196#endif 7197#endif
7197} 7198}
7199#endif /* SYNC_INPUT || SIGIO */
7198 7200
7199#ifdef SYNC_INPUT 7201#ifdef SYNC_INPUT
7200void 7202void