aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-11-14 22:18:50 -0800
committerDan Nicolaescu2010-11-14 22:18:50 -0800
commitc2f0866a23215457de561c2f10cebedb5c6aa38b (patch)
tree1688c9704c659ff9e60b52a37f823e694826a010 /src
parent12e610e89e2a3ae9de569e12a57d310102952ce6 (diff)
downloademacs-c2f0866a23215457de561c2f10cebedb5c6aa38b.tar.gz
emacs-c2f0866a23215457de561c2f10cebedb5c6aa38b.zip
* src/keyboard.c (pending_malloc_warning): Add const to match
definition in alloc.c. (Fset_input_interrupt_mode): Simplify #ifdefs.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/keyboard.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7bfd266b4d8..bef5242c9cb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
12010-11-15 Dan Nicolaescu <dann@ics.uci.edu> 12010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * keyboard.c (pending_malloc_warning): Add const to match
4 definition in alloc.c.
5 (Fset_input_interrupt_mode): Simplify #ifdefs.
6
72010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
8
3 Clean up systty.h macros. 9 Clean up systty.h macros.
4 * systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY) 10 * systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
5 (EMACS_SET_TTY): Remove unneeded abstraction, instead inline the 11 (EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
diff --git a/src/keyboard.c b/src/keyboard.c
index b9931d5f12d..017a4981b98 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -431,7 +431,7 @@ FILE *dribble;
431/* Nonzero if input is available. */ 431/* Nonzero if input is available. */
432int input_pending; 432int input_pending;
433 433
434extern char *pending_malloc_warning; 434extern const char *pending_malloc_warning;
435 435
436/* Circular buffer for pre-read keyboard input. */ 436/* Circular buffer for pre-read keyboard input. */
437 437
@@ -11100,10 +11100,10 @@ See also `current-input-mode'. */)
11100#ifndef DOS_NT 11100#ifndef DOS_NT
11101 /* this causes startup screen to be restored and messes with the mouse */ 11101 /* this causes startup screen to be restored and messes with the mouse */
11102 reset_all_sys_modes (); 11102 reset_all_sys_modes ();
11103#endif
11104 interrupt_input = new_interrupt_input; 11103 interrupt_input = new_interrupt_input;
11105#ifndef DOS_NT
11106 init_all_sys_modes (); 11104 init_all_sys_modes ();
11105#else
11106 interrupt_input = new_interrupt_input;
11107#endif 11107#endif
11108 11108
11109#ifdef POLL_FOR_INPUT 11109#ifdef POLL_FOR_INPUT