Move definition of reset_hp_softkeys variable to lib/tty/tty-slang.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2016-05-03 14:20:16 +03:00
parent e251c67ef7
commit 3204563bff
4 changed files with 7 additions and 13 deletions

View File

@ -57,6 +57,11 @@
/*** global variables ****************************************************************************/
/* If true program softkeys (HP terminals only) on startup and after every
command ran in the subshell to the description found in the termcap/terminfo
database */
int reset_hp_softkeys = 0;
/*** file scope macro definitions ****************************************************************/
#ifndef SLTT_MAX_SCREEN_COLS

View File

@ -41,6 +41,8 @@ enum
/*** global variables defined in .c file *********************************************************/
extern int reset_hp_softkeys;
/*** declarations of public functions ************************************************************/
/*** inline functions ****************************************************************************/

View File

@ -50,13 +50,6 @@
/*** global variables ****************************************************************************/
#ifdef HAVE_SLANG
/* If true program softkeys (HP terminals only) on startup and after every
command ran in the subshell to the description found in the termcap/terminfo
database */
int reset_hp_softkeys = 0;
#endif
int mc_tty_frm[MC_TTY_FRM_MAX];
/*** file scope macro definitions ****************************************************************/

View File

@ -65,12 +65,6 @@ extern int mc_tty_frm[];
extern char *tty_tgetstr (const char *name);
/* {{{ Input }}} */
#ifdef HAVE_SLANG
extern int reset_hp_softkeys;
#endif
/*** declarations of public functions ************************************************************/
extern void tty_beep (void);