* src/keyboard.c (pending_malloc_warning): Add const to match

definition in alloc.c.
(Fset_input_interrupt_mode): Simplify #ifdefs.
This commit is contained in:
Dan Nicolaescu 2010-11-14 22:18:50 -08:00
parent 12e610e89e
commit c2f0866a23
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
* keyboard.c (pending_malloc_warning): Add const to match
definition in alloc.c.
(Fset_input_interrupt_mode): Simplify #ifdefs.
2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
Clean up systty.h macros.

View file

@ -431,7 +431,7 @@ FILE *dribble;
/* Nonzero if input is available. */
int input_pending;
extern char *pending_malloc_warning;
extern const char *pending_malloc_warning;
/* Circular buffer for pre-read keyboard input. */
@ -11100,10 +11100,10 @@ See also `current-input-mode'. */)
#ifndef DOS_NT
/* this causes startup screen to be restored and messes with the mouse */
reset_all_sys_modes ();
#endif
interrupt_input = new_interrupt_input;
#ifndef DOS_NT
init_all_sys_modes ();
#else
interrupt_input = new_interrupt_input;
#endif
#ifdef POLL_FOR_INPUT