diff --git a/src/main.c b/src/main.c index 9b3e807f3..ba10e1780 100644 --- a/src/main.c +++ b/src/main.c @@ -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 ****************************************************************/ diff --git a/src/main.h b/src/main.h index 4550e9f57..42d833a70 100644 --- a/src/main.h +++ b/src/main.h @@ -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