diff --git a/src/ChangeLog b/src/ChangeLog index a72fc8528..d17e0c963 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2002-08-22 Pavel Roskin + * dialog.h: Cleanup unused functions. + * dialog.c: Cleanup unused headers. + * dlg.h (struct Dlg_head): Fold fields "raw" and "has_menubar" into one field "flags". Adjust all dependencies. Add new flag DLG_COMPACT. diff --git a/src/dialog.c b/src/dialog.c index d8b54ea0c..b399cc2a9 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -21,17 +21,10 @@ #include #include #include "global.h" -#include "tty.h" #include "dialog.h" -#include "color.h" -#include "win.h" -#include "mouse.h" -#include "main.h" -#include "key.h" /* For mi_getch() */ -#include "dlg.h" /* draw_box, yes I know, it's silly */ -#include "fileopctx.h" +#include "key.h" /* we_are_background */ +#include "main.h" /* fast_refresh */ -/* "$Id$" */ Refresh *refresh_list = 0; diff --git a/src/dialog.h b/src/dialog.h index 3900f7636..44eb11611 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -1,7 +1,6 @@ #ifndef __DIALOG_H #define __DIALOG_H -#include "global.h" #include "dlg.h" #ifndef VFS_STANDALONE @@ -40,7 +39,6 @@ enum { void push_refresh (void (*new_refresh)(void *), void *data, int flags); void pop_refresh (void); void do_refresh (void); -void my_wputs (int y, int x, char *text); char *input_dialog (char *header, char *text, char *def_text); char *input_expand_dialog (char *header, char *text, char *def_text);