Moved declaration of "easy_patterns" variable from lib/util.[ch] to src/setup.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-11-08 22:02:52 +03:00
parent 1f4efb3a46
commit 5e0c9c911d
4 changed files with 3 additions and 4 deletions

View File

@ -57,8 +57,6 @@
/*** global variables ****************************************************************************/
int easy_patterns = 1;
char *user_recent_timeformat = NULL; /* time format string for recent dates */
char *user_old_timeformat = NULL; /* time format string for older dates */

View File

@ -120,8 +120,6 @@ typedef struct hook
extern char *user_recent_timeformat; /* time format string for recent dates */
extern char *user_old_timeformat; /* time format string for older dates */
extern int easy_patterns;
extern struct sigaction startup_handler;
/*** declarations of public functions ************************************************************/

View File

@ -110,6 +110,8 @@ panels_options_t panels_options = {
.qsearch_mode = QSEARCH_PANEL_CASE
};
int easy_patterns = 1;
/*** file scope macro definitions **************************************/
/* In order to use everywhere the same setup for the locale we use defines */

View File

@ -24,6 +24,7 @@ extern int select_flags;
extern int setup_copymove_persistent_attr;
extern int num_history_items_recorded;
extern int classic_progressbar;
extern int easy_patterns;
/* TAB length for editor and viewer */
#define DEFAULT_TAB_SPACING 8