* main.c: Make more variables static.
Этот коммит содержится в:
родитель
58572c60da
Коммит
a1ce20517c
@ -1,3 +1,7 @@
|
||||
2003-07-28 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* main.c: Make more variables static.
|
||||
|
||||
2003-07-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* key.c (xterm_key_defines): Add more sequences for xterm-179 by
|
||||
|
11
src/main.c
11
src/main.c
@ -224,11 +224,6 @@ Dlg_head *midnight_dlg;
|
||||
/* We need to paint it after CONSOLE_RESTORE, see: load_prompt */
|
||||
int update_prompt = 0;
|
||||
|
||||
#if 0
|
||||
/* The name which was used to invoke mc */
|
||||
char *program_name;
|
||||
#endif
|
||||
|
||||
/* The home directory */
|
||||
char *home_dir;
|
||||
|
||||
@ -238,7 +233,7 @@ char *other_dir = 0;
|
||||
/* Only used at program boot */
|
||||
int boot_current_is_left = 1;
|
||||
|
||||
char *this_dir = 0;
|
||||
static char *this_dir = 0;
|
||||
|
||||
/* If this is true, then when browsing the tree the other window will
|
||||
* automatically reload it's directory with the contents of the currently
|
||||
@ -259,10 +254,10 @@ int force_colors = 0;
|
||||
char *command_line_colors;
|
||||
|
||||
/* File name to view if argument was supplied */
|
||||
char *view_one_file = 0;
|
||||
static char *view_one_file = 0;
|
||||
|
||||
/* File name to edit if argument was supplied */
|
||||
char *edit_one_file = 0;
|
||||
static char *edit_one_file = 0;
|
||||
|
||||
/* Line to start the editor on */
|
||||
static int edit_one_file_start_line = 0;
|
||||
|
@ -32,8 +32,6 @@ extern int pause_after_run;
|
||||
extern int auto_save_setup;
|
||||
extern int use_internal_view;
|
||||
extern int use_internal_edit;
|
||||
extern char *view_one_file;
|
||||
extern char *edit_one_file;
|
||||
extern int fast_reload_w;
|
||||
extern int clear_before_exec;
|
||||
extern int mou_auto_repeat;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user