emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108000: * keyboard.c (handle_asyn


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108000: * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
Date: Fri, 02 Nov 2012 02:10:00 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108000
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2012-04-22 21:08:51 -0700
message:
  * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
  
  Problem reported by Juanma Barranquero for Windows -Wunused-function.
modified:
  src/ChangeLog
  src/keyboard.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-04-22 19:23:51 +0000
+++ b/src/ChangeLog     2012-04-23 04:08:51 +0000
@@ -1,3 +1,8 @@
+2012-04-23  Paul Eggert  <address@hidden>
+
+       * 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  <address@hidden>
 
        Modernize and clean up gmalloc.c to assume C89 (Bug#9119).

=== modified file 'src/keyboard.c'
--- a/src/keyboard.c    2012-04-20 21:26:18 +0000
+++ b/src/keyboard.c    2012-04-23 04:08:51 +0000
@@ -7169,6 +7169,7 @@
   return nread;
 }
 
+#if defined SYNC_INPUT || defined SIGIO
 static void
 handle_async_input (void)
 {
@@ -7195,6 +7196,7 @@
   --handling_signal;
 #endif
 }
+#endif /* SYNC_INPUT || SIGIO */
 
 #ifdef SYNC_INPUT
 void


reply via email to

[Prev in Thread] Current Thread [Next in Thread]