Move shorten_fname{,1,s} and shorten_filenames from fileio.c

This commit is contained in:
John Schmidt
2014-03-31 01:08:01 +02:00
committed by Thiago de Arruda
parent 7464b07c22
commit d31e598895
4 changed files with 130 additions and 127 deletions

View File

@@ -33,10 +33,6 @@ int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start,
int filtering);
void msg_add_fname(buf_T *buf, char_u *fname);
void msg_add_lines(int insert_space, long lnum, off_t nchars);
char_u *shorten_fname1(char_u *full_path);
char_u *shorten_fname(char_u *full_path, char_u *dir_name);
void shorten_fnames(int force);
void shorten_filenames(char_u **fnames, int count);
char_u *modname(char_u *fname, char_u *ext, int prepend_dot);
char_u *buf_modname(int shortname, char_u *fname, char_u *ext,
int prepend_dot);