* 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:
parent
12e610e89e
commit
c2f0866a23
2 changed files with 9 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue