From 954af9fec9ec769f77f69e3cf628423ecf167014 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 13 Mar 2016 09:02:56 +0300 Subject: [PATCH] Ticket #3607: code cleanup bebore 4.8.17 release. Clarify include of fileloc.h. Signed-off-by: Andrew Borodin --- src/editor/edit.c | 1 + src/editor/edit.h | 1 - src/editor/editcmd.c | 1 + src/editor/editwidget.c | 1 + src/editor/syntax.c | 1 + src/filemanager/usermenu.c | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/editor/edit.c b/src/editor/edit.c index a137dd327..0184e1327 100644 --- a/src/editor/edit.c +++ b/src/editor/edit.c @@ -49,6 +49,7 @@ #include "lib/tty/tty.h" /* attrset() */ #include "lib/tty/key.h" /* is_idle() */ #include "lib/skin.h" /* EDITOR_NORMAL_COLOR */ +#include "lib/fileloc.h" /* EDIT_BLOCK_FILE */ #include "lib/vfs/vfs.h" #include "lib/strutil.h" /* utf string functions */ #include "lib/util.h" /* load_file_position(), save_file_position() */ diff --git a/src/editor/edit.h b/src/editor/edit.h index 6e55034d9..830042796 100644 --- a/src/editor/edit.h +++ b/src/editor/edit.h @@ -14,7 +14,6 @@ #define MC__EDIT_H #include "lib/global.h" /* PATH_SEP_STR */ -#include "lib/fileloc.h" #include "lib/vfs/vfs.h" /* vfs_path_t */ /*** typedefs(not structures) and defined constants **********************************************/ diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c index 5e660b556..a715b0f80 100644 --- a/src/editor/editcmd.c +++ b/src/editor/editcmd.c @@ -55,6 +55,7 @@ #include "lib/mcconfig.h" #include "lib/skin.h" #include "lib/strutil.h" /* utf string functions */ +#include "lib/fileloc.h" #include "lib/lock.h" #include "lib/util.h" /* tilde_expand() */ #include "lib/vfs/vfs.h" diff --git a/src/editor/editwidget.c b/src/editor/editwidget.c index b66f668cc..b3fd2b2d0 100644 --- a/src/editor/editwidget.c +++ b/src/editor/editwidget.c @@ -45,6 +45,7 @@ #include "lib/tty/key.h" /* is_idle() */ #include "lib/tty/color.h" /* tty_setcolor() */ #include "lib/skin.h" +#include "lib/fileloc.h" /* EDIT_DIR */ #include "lib/strutil.h" /* str_term_trim() */ #include "lib/util.h" /* mc_build_filename() */ #include "lib/widget.h" diff --git a/src/editor/syntax.c b/src/editor/syntax.c index b477be11f..3f4de4c87 100644 --- a/src/editor/syntax.c +++ b/src/editor/syntax.c @@ -56,6 +56,7 @@ #include "lib/global.h" #include "lib/search.h" /* search engine */ #include "lib/skin.h" +#include "lib/fileloc.h" /* EDIT_DIR, EDIT_SYNTAX_FILE */ #include "lib/strutil.h" /* utf string functions */ #include "lib/util.h" #include "lib/widget.h" /* message() */ diff --git a/src/filemanager/usermenu.c b/src/filemanager/usermenu.c index 33fd399dd..a8622f0b8 100644 --- a/src/filemanager/usermenu.c +++ b/src/filemanager/usermenu.c @@ -37,6 +37,7 @@ #include #include "lib/global.h" +#include "lib/fileloc.h" #include "lib/tty/tty.h" #include "lib/skin.h" #include "lib/search.h"