1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

* keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.

Problem reported by Juanma Barranquero for Windows -Wunused-function.
This commit is contained in:
Paul Eggert 2012-04-22 21:08:51 -07:00
parent d0baac98ac
commit 888bec3050
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
* keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
Problem reported by Juanma Barranquero for Windows -Wunused-function.
2012-04-22 Paul Eggert <eggert@cs.ucla.edu>
Modernize and clean up gmalloc.c to assume C89 (Bug#9119).

View File

@ -7169,6 +7169,7 @@ tty_read_avail_input (struct terminal *terminal,
return nread;
}
#if defined SYNC_INPUT || defined SIGIO
static void
handle_async_input (void)
{
@ -7195,6 +7196,7 @@ handle_async_input (void)
--handling_signal;
#endif
}
#endif /* SYNC_INPUT || SIGIO */
#ifdef SYNC_INPUT
void