* dialog.h: Cleanup unused functions.

* dialog.c: Cleanup unused headers.
This commit is contained in:
Pavel Roskin 2002-08-22 22:53:02 +00:00
parent 74d224e1b2
commit 6810d3211e
3 changed files with 5 additions and 11 deletions

View File

@ -1,5 +1,8 @@
2002-08-22 Pavel Roskin <proski@gnu.org>
* 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.

View File

@ -21,17 +21,10 @@
#include <sys/types.h>
#include <string.h>
#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;

View File

@ -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);