Commit c2f0866a authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

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

definition in alloc.c.
(Fset_input_interrupt_mode): Simplify #ifdefs.
parent 12e610e8
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.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment