* cmd.c (check_for_default): Make accessible from other files.

* cmd.h: Declare check_for_default().
This commit is contained in:
Pavel Roskin 2001-09-11 21:38:59 +00:00
parent 4451b088b1
commit a100142753
3 changed files with 7 additions and 1 deletions

View File

@ -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>
* layout.c: Use HAVE_TERMIOS_H and HAVE_SYS_IOCTL_H more

View File

@ -608,7 +608,7 @@ void unselect_cmd (void)
/* Check if the file exists */
/* 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;
long count = 0;

View File

@ -64,6 +64,7 @@ char *get_random_hint (void);
void source_routing (void);
void user_file_menu_cmd (void);
char *guess_message_value (unsigned want_info);
int check_for_default(char *default_file, char *file);
/* Display mode code */
void info_cmd (void);