mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* 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:
parent
556394cfc2
commit
bca1e47369
@ -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.
|
||||
|
@ -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 ();
|
||||
|
@ -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);
|
||||
|
@ -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 *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user