* subshell.c (subshell_switch_key): Make static const int.

This commit is contained in:
Pavel Roskin 2002-12-24 00:13:30 +00:00
parent 001cb449d0
commit 5da0a2f08a
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2002-12-23 Pavel Roskin <proski@gnu.org>
* subshell.c (subshell_switch_key): Make static const int.
* key.c (correct_key_code): Strip or add modifier information
when necessary. Recognize shift with function key N as function
key (N + 10). Fix breakage from previous patch.

View File

@ -104,7 +104,7 @@ TRUE;
int subshell_pty = 0;
/* The key for switching back to MC from the subshell */
char subshell_switch_key = XCTRL('o');
static const int subshell_switch_key = XCTRL('o');
/* State of the subshell:
* INACTIVE: the default state; awaiting a command

View File

@ -13,9 +13,6 @@ extern int use_subshell;
/* File descriptor of the pseudoterminal used by the subshell */
extern int subshell_pty;
/* The key to switch back to MC from the subshell */
extern char subshell_switch_key;
/* State of the subshell; see subshell.c for an explanation */
enum subshell_state_enum {INACTIVE, ACTIVE, RUNNING_COMMAND};
extern enum subshell_state_enum subshell_state;