mirror of https://github.com/MidnightCommander/mc
* cmd.c (check_for_default): Make accessible from other files.
* cmd.h: Declare check_for_default().
This commit is contained in:
parent
4451b088b1
commit
a100142753
|
@ -1,3 +1,8 @@
|
||||||
|
2001-09-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* cmd.c (check_for_default): Make accessible from other files.
|
||||||
|
* cmd.h: Declare check_for_default().
|
||||||
|
|
||||||
2001-09-10 Pavel Roskin <proski@gnu.org>
|
2001-09-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* layout.c: Use HAVE_TERMIOS_H and HAVE_SYS_IOCTL_H more
|
* layout.c: Use HAVE_TERMIOS_H and HAVE_SYS_IOCTL_H more
|
||||||
|
|
|
@ -608,7 +608,7 @@ void unselect_cmd (void)
|
||||||
|
|
||||||
/* Check if the file exists */
|
/* Check if the file exists */
|
||||||
/* If not copy the default */
|
/* If not copy the default */
|
||||||
static int check_for_default(char *default_file, char *file)
|
int check_for_default(char *default_file, char *file)
|
||||||
{
|
{
|
||||||
struct stat s;
|
struct stat s;
|
||||||
long count = 0;
|
long count = 0;
|
||||||
|
|
|
@ -64,6 +64,7 @@ char *get_random_hint (void);
|
||||||
void source_routing (void);
|
void source_routing (void);
|
||||||
void user_file_menu_cmd (void);
|
void user_file_menu_cmd (void);
|
||||||
char *guess_message_value (unsigned want_info);
|
char *guess_message_value (unsigned want_info);
|
||||||
|
int check_for_default(char *default_file, char *file);
|
||||||
|
|
||||||
/* Display mode code */
|
/* Display mode code */
|
||||||
void info_cmd (void);
|
void info_cmd (void);
|
||||||
|
|
Loading…
Reference in New Issue