diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-05-09 15:33:00 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-09 15:33:00 -0400 |
commit | 1a3ee71de258b416ca6b80f0a9e3b91460df8dc7 (patch) | |
tree | a59167e50add55b51ed31c65944cfa78ddd1c290 /src/fileio.h | |
parent | f3dda65de157f2d7c35286018c20cbc7597ed748 (diff) | |
parent | eae498c4c5d34c1d0af40ecb430cbbc23b0a8e97 (diff) | |
download | rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.tar.gz rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.tar.bz2 rneovim-1a3ee71de258b416ca6b80f0a9e3b91460df8dc7.zip |
Merge pull request #619 from stefan991/mch_stat-cleanup
Replace `struct stat` with `FileInfo`
Diffstat (limited to 'src/fileio.h')
-rw-r--r-- | src/fileio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fileio.h b/src/fileio.h index 8b743aab0d..5f67449382 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -2,6 +2,7 @@ #define NEOVIM_FILEIO_H #include "buffer_defs.h" +#include "os/os.h" /* * Struct to save values in before executing autocommands for a buffer that is @@ -40,7 +41,7 @@ int vim_rename(char_u *from, char_u *to); int check_timestamps(int focus); int buf_check_timestamp(buf_T *buf, int focus); void buf_reload(buf_T *buf, int orig_mode); -void buf_store_time(buf_T *buf, struct stat *st, char_u *fname); +void buf_store_file_info(buf_T *buf, FileInfo *file_info, char_u *fname); void write_lnum_adjust(linenr_T offset); void vim_deltempdir(void); char_u *vim_tempname(int extra_char); |