emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r110866: src/xdisp.c (start_hourglass


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110866: src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Silence warning.
Date: Sun, 11 Nov 2012 15:19:13 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110866
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sun 2012-11-11 15:19:13 +0100
message:
  src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Silence warning.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-11-10 23:13:33 +0000
+++ b/src/ChangeLog     2012-11-11 14:19:13 +0000
@@ -1,3 +1,8 @@
+2012-11-11  Juanma Barranquero  <address@hidden>
+
+       * xdisp.c (start_hourglass) [HAVE_NTGUI]: Add block to silence
+       warning about mixing declarations and code in ISO C90.
+
 2012-11-10  Martin Rudalics  <address@hidden>
 
        * window.c (Fsplit_window_internal): Set combination limit of

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2012-11-10 23:13:33 +0000
+++ b/src/xdisp.c       2012-11-11 14:19:13 +0000
@@ -29420,8 +29420,10 @@
     delay = make_emacs_time (DEFAULT_HOURGLASS_DELAY, 0);
 
 #ifdef HAVE_NTGUI
-  extern void w32_note_current_window (void);
-  w32_note_current_window ();
+  {
+    extern void w32_note_current_window (void);
+    w32_note_current_window ();
+  }
 #endif /* HAVE_NTGUI */
 
   hourglass_atimer = start_atimer (ATIMER_RELATIVE, delay,


reply via email to

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