From 813cf40ac4c37e1a8ac60437846e503004ec88f2 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 29 Jul 2001 02:08:40 +0000 Subject: [PATCH] * view.c (view_ok_to_quit): Make global - it's needed for GMC. * view.h: Declare view_ok_to_quit(). --- src/ChangeLog | 5 +++++ src/view.c | 2 +- src/view.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index af7de1c25..1951f22ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-07-28 Pavel Roskin + + * view.c (view_ok_to_quit): Make global - it's needed for GMC. + * view.h: Declare view_ok_to_quit(). + 2001-07-27 Pavel Roskin * util.c [!USE_VFS] (get_current_wd): Resurrect, this time using diff --git a/src/view.c b/src/view.c index 1e096ee06..5d104fd1e 100644 --- a/src/view.c +++ b/src/view.c @@ -392,7 +392,7 @@ save_edit_changes (WView *view) free_change_list (view); } -static int +int view_ok_to_quit (WView *view) { int r; diff --git a/src/view.h b/src/view.h index b572e590e..64c323fc0 100644 --- a/src/view.h +++ b/src/view.h @@ -143,6 +143,7 @@ extern int altered_magic_flag; extern int altered_nroff_flag; void view_adjust_size (Dlg_head *); +int view_ok_to_quit (WView *view); /* A node for building a change list on change_list */ struct hexedit_change_node {