From: Paul Eggert Date: Mon, 23 Apr 2012 04:08:51 +0000 (-0700) Subject: * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO. X-Git-Tag: emacs-24.2.90~471^2~307 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=888bec305043c6576d82f9988c63694b8133e3fd;p=emacs.git * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO. Problem reported by Juanma Barranquero for Windows -Wunused-function. --- diff --git a/src/ChangeLog b/src/ChangeLog index 410e6e01f45..825211aa8ce 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-04-23 Paul Eggert + + * 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 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, 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