* view.h: Declare view_dlg.

* main.h: Declare edit_dlg.
* layout.c (change_screen_size): Remove external declarations
inside the function.
This commit is contained in:
Pavel Roskin 2001-08-21 06:32:41 +00:00
parent 556394cfc2
commit bca1e47369
4 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2001-08-21 Pavel Roskin <proski@gnu.org>
* view.h: Declare view_dlg.
* main.h: Declare edit_dlg.
* layout.c (change_screen_size): Remove external declarations
inside the function.
2001-08-20 Pavel Roskin <proski@gnu.org>
* view.c (load_view_file) [!HAVE_MMAP]: Warning fix.

View File

@ -744,8 +744,6 @@ void change_screen_size (void)
{
#if defined(HAVE_SLANG) || NCURSES_VERSION_MAJOR >= 4
#if defined TIOCGWINSZ && !defined SCO_FLAVOR
extern Dlg_head *view_dlg;
extern Dlg_head *edit_dlg;
#ifndef NCURSES_VERSION
mc_noraw_mode ();

View File

@ -180,12 +180,10 @@ extern WButtonBar *the_bar;
extern WLabel *the_prompt;
extern WLabel *the_hint;
extern Dlg_head *midnight_dlg;
extern WLabel *process_status;
extern Dlg_head *edit_dlg;
extern WLabel *process_status;
#include "menu.h"
extern WMenu *the_menubar;
extern Dlg_head *midnight_dlg;
#endif /* WANT_WIDGETS */
void edition_pre_exec (void);

View File

@ -146,6 +146,7 @@ extern int default_nroff_flag;
extern int altered_hex_mode;
extern int altered_magic_flag;
extern int altered_nroff_flag;
extern Dlg_head *view_dlg;
void view_adjust_size (Dlg_head *);