1
1

* main.h: Changed the type of quiet_quit_cmd() from int to void.

* main.c: Likewise. Removed function cast.
Этот коммит содержится в:
Roland Illig 2005-05-23 16:37:01 +00:00
родитель c1a5413eef
Коммит 2a21804cc2
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -11,6 +11,8 @@
* fileopctx.c: Likewise.
* help.c: Removed function casts.
* info.c: Removed function casts.
* main.h: Changed the type of quiet_quit_cmd() from int to void.
* main.c: Likewise. Removed function cast.
2005-05-22 Pavel Roskin <proski@gnu.org>

Просмотреть файл

@ -487,12 +487,11 @@ quit_cmd (void)
quit_cmd_internal (0);
}
int
void
quiet_quit_cmd (void)
{
print_last_revert = 1;
quit_cmd_internal (1);
return quit;
}
/*
@ -1253,7 +1252,7 @@ nothing (void)
static const key_map default_map[] = {
{KEY_F (19), menu_last_selected_cmd},
{KEY_F (20), (key_callback) quiet_quit_cmd},
{KEY_F (20), quiet_quit_cmd},
/* Copy useful information to the command line */
{ALT ('a'), copy_current_pathname},

Просмотреть файл

@ -99,7 +99,7 @@ int do_cd (const char *new_dir, enum cd_enum cd_type); /* For find.c *
void change_panel (void);
int load_prompt (int, void *);
void save_cwds_stat (void);
int quiet_quit_cmd (void); /* For cmd.c and command.c */
void quiet_quit_cmd (void); /* For cmd.c and command.c */
void touch_bar (void);
void update_xterm_title_path (void);