* main.h [USE_INTERNAL_EDIT]: Don't include declarations from

edit.h.
* setup.c [USE_INTERNAL_EDIT]: Include edit.h.
This commit is contained in:
Pavel Roskin 2002-08-19 01:43:40 +00:00
parent 3a93326ce7
commit 6efa4a23f3
3 changed files with 9 additions and 16 deletions

View File

@ -1,5 +1,9 @@
2002-08-18 Pavel Roskin <proski@gnu.org>
* main.h [USE_INTERNAL_EDIT]: Don't include declarations from
edit.h.
* setup.c [USE_INTERNAL_EDIT]: Include edit.h.
* boxes.h: Remove user_format.
* boxes.c: Make more variables static, remove all extern
declarations.

View File

@ -42,22 +42,6 @@ extern int use_internal_view;
extern int use_internal_edit;
extern char *view_one_file;
extern char *edit_one_file;
#ifdef USE_INTERNAL_EDIT
extern int edit (const char *file, int line);
extern int option_word_wrap_line_length;
extern int edit_key_emulation;
extern int option_tab_spacing;
extern int option_fill_tabs_with_spaces;
extern int option_return_does_auto_indent;
extern int option_backspace_through_tabs;
extern int option_fake_half_tabs;
extern int option_save_mode;
extern int option_backup_ext_int;
extern int option_auto_para_formatting;
extern int option_typewriter_wrap;
extern int edit_confirm_save;
extern int option_syntax_highlighting;
#endif /* ! USE_INTERNAL_EDIT */
extern int fast_reload_w;
extern int clear_before_exec;
extern int mou_auto_repeat;

View File

@ -50,6 +50,11 @@
# include "../vfs/ftpfs.h"
#endif
#ifdef USE_INTERNAL_EDIT
# include "../edit/edit.h"
#endif
/* "$Id$" */
extern char *find_ignore_dirs;