From ecc08f6c604dd7ccc91bd594db3eaf6b51152854 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Tue, 22 Feb 2005 17:00:36 +0000 Subject: [PATCH] * edit.h: Removed unnecessary #include directives ... * *.c: ... and added them here. --- edit/ChangeLog | 5 +++++ edit/bookmark.c | 15 ++++++++++++++- edit/edit.c | 14 ++++++++++++++ edit/edit.h | 16 ---------------- edit/editcmd.c | 14 ++++++++++++++ edit/editdraw.c | 13 +++++++++++++ edit/editkeys.c | 15 +++++++++++++++ edit/editlock.c | 17 +++++++++++++++++ edit/editmenu.c | 16 ++++++++++++++++ edit/editoptions.c | 17 +++++++++++++++++ edit/editwidget.c | 16 ++++++++++++++++ edit/syntax.c | 14 ++++++++++++++ edit/wordproc.c | 17 +++++++++++++++++ 13 files changed, 172 insertions(+), 17 deletions(-) diff --git a/edit/ChangeLog b/edit/ChangeLog index 096cd2308..997861c5b 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,8 @@ +2005-02-22 Roland Illig + + * edit.h: Removed unnecessary #include directives ... + * *.c: ... and added them here. + 2005-02-08 Roland Illig * editdraw.c: Renamed redraw_labels to buttonbar_redraw. diff --git a/edit/bookmark.c b/edit/bookmark.c index 346bc1166..566c82fcc 100644 --- a/edit/bookmark.c +++ b/edit/bookmark.c @@ -20,8 +20,21 @@ 02111-1307, USA. */ - #include + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h" diff --git a/edit/edit.c b/edit/edit.c index 52e955fe6..af3450c2b 100644 --- a/edit/edit.c +++ b/edit/edit.c @@ -21,6 +21,20 @@ */ #include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "editlock.h" #include "edit-widget.h" diff --git a/edit/edit.h b/edit/edit.h index 669d3c79b..614f8d02a 100644 --- a/edit/edit.h +++ b/edit/edit.h @@ -23,22 +23,6 @@ #ifndef MC_EDIT_H #define MC_EDIT_H -#include -#include -#include -#ifdef HAVE_UNISTD_H -# include -#endif -#include -#include -#include -#include -#include - -#include - -#include "../src/global.h" - #define N_menus 5 #define SEARCH_DIALOG_OPTION_NO_SCANF (1 << 0) diff --git a/edit/editcmd.c b/edit/editcmd.c index 01e7242cc..c07ab4155 100644 --- a/edit/editcmd.c +++ b/edit/editcmd.c @@ -26,6 +26,20 @@ #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "editlock.h" #include "editcmddef.h" diff --git a/edit/editdraw.c b/edit/editdraw.c index 76f35a72e..290cfae72 100644 --- a/edit/editdraw.c +++ b/edit/editdraw.c @@ -22,6 +22,19 @@ #include #include +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h" diff --git a/edit/editkeys.c b/edit/editkeys.c index 1558cfb5c..3d528feb0 100644 --- a/edit/editkeys.c +++ b/edit/editkeys.c @@ -21,6 +21,21 @@ */ #include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h" /* edit->macro_i */ #include "editcmddef.h" /* list of commands */ diff --git a/edit/editlock.c b/edit/editlock.c index e303cb065..74fbac527 100644 --- a/edit/editlock.c +++ b/edit/editlock.c @@ -23,6 +23,23 @@ #include #include /* kill() */ + +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "editlock.h" diff --git a/edit/editmenu.c b/edit/editmenu.c index bde846d8b..a590338b5 100644 --- a/edit/editmenu.c +++ b/edit/editmenu.c @@ -22,6 +22,22 @@ #include +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "../src/wtools.h" /* query_dialog() */ #include "../src/menu.h" /* menu_entry */ diff --git a/edit/editoptions.c b/edit/editoptions.c index d7d980804..0df6a7332 100644 --- a/edit/editoptions.c +++ b/edit/editoptions.c @@ -21,6 +21,23 @@ */ #include + +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "../src/dialog.h" /* B_CANCEL */ #include "../src/wtools.h" /* QuickDialog */ diff --git a/edit/editwidget.c b/edit/editwidget.c index d82e267ca..07f258935 100644 --- a/edit/editwidget.c +++ b/edit/editwidget.c @@ -24,6 +24,22 @@ #include +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h" diff --git a/edit/syntax.c b/edit/syntax.c index d3c66d015..17c9aef34 100644 --- a/edit/syntax.c +++ b/edit/syntax.c @@ -21,6 +21,20 @@ */ #include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h" #include "../src/color.h" /* use_colors */ diff --git a/edit/wordproc.c b/edit/wordproc.c index e0ad7a981..ad2210375 100644 --- a/edit/wordproc.c +++ b/edit/wordproc.c @@ -19,6 +19,23 @@ */ #include + +#include +#include +#include +#ifdef HAVE_UNISTD_H +# include +#endif +#include +#include +#include +#include +#include + +#include + +#include "../src/global.h" + #include "edit.h" #include "edit-widget.h"