src/xdisp.c (start_hourglass) [HAVE_NTGUI]: Silence warning.

This commit is contained in:
Juanma Barranquero 2012-11-11 15:19:13 +01:00
parent c02ed5ace8
commit 11235c037f
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-11-11 Juanma Barranquero <lekktu@gmail.com>
* xdisp.c (start_hourglass) [HAVE_NTGUI]: Add block to silence
warning about mixing declarations and code in ISO C90.
2012-11-10 Martin Rudalics <rudalics@gmx.at>
* window.c (Fsplit_window_internal): Set combination limit of

View file

@ -29420,8 +29420,10 @@ start_hourglass (void)
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,