mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* dialog.h: Cleanup unused functions.
* dialog.c: Cleanup unused headers.
This commit is contained in:
parent
74d224e1b2
commit
6810d3211e
@ -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.
|
||||
|
11
src/dialog.c
11
src/dialog.c
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user