diff options
| author | Paul Eggert | 2012-04-22 21:08:51 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-22 21:08:51 -0700 |
| commit | 888bec305043c6576d82f9988c63694b8133e3fd (patch) | |
| tree | 2f58a6e213b49e5016abe502c4cd432f8db4487e /src | |
| parent | d0baac98ac8f673ec56bc8b0b1fd7d280831b015 (diff) | |
| download | emacs-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/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 410e6e01f45..825211aa8ce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-04-22 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-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 | ||
| 7172 | static void | 7173 | static void |
| 7173 | handle_async_input (void) | 7174 | handle_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 |
| 7200 | void | 7202 | void |