Direct commit: fixed visibility scope for global variable GArray *macros_list

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-03-04 11:53:30 +02:00
parent 0cfbe19d96
commit bdf5543950
2 changed files with 4 additions and 1 deletions

View File

@ -136,6 +136,8 @@ char *last_wd_string = NULL;
/* index to record_macro_buf[], -1 if not recording a macro */
int macro_index = -1;
GArray *macros_list;
/*** file scope macro definitions ****************************************************************/
/*** file scope type declarations ****************************************************************/

View File

@ -97,10 +97,11 @@ extern const char *mc_prompt;
extern char *mc_sysconfig_dir;
extern char *mc_share_data_dir;
GArray *macros_list;
/* index to record_macro_buf[], -1 if not recording a macro */
extern int macro_index;
extern GArray *macros_list;
/*** declarations of public functions ************************************************************/
#ifdef HAVE_SUBSHELL_SUPPORT