diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-10 21:28:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-10 21:28:38 +0200 |
commit | 63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd (patch) | |
tree | f96d5dcd14268406b6c78c002f9bb63db7fc9cb9 /src/proto | |
parent | 4ca41534b726c4116d2e430e877e34146b4d4831 (diff) | |
download | vim-git-63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd.tar.gz |
patch 8.1.1313: warnings for using localtime() and ctime()v8.1.1313
Problem: Warnings for using localtime() and ctime().
Solution: Use localtime_r() if available. Avoid using ctime().
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/memline.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/memline.pro b/src/proto/memline.pro index 04254b066..57cc76760 100644 --- a/src/proto/memline.pro +++ b/src/proto/memline.pro @@ -13,6 +13,7 @@ void ml_recover(void); int recover_names(char_u *fname, int list, int nr, char_u **fname_out); char_u *make_percent_swname(char_u *dir, char_u *name); void get_b0_dict(char_u *fname, dict_T *d); +char *get_ctime(time_t thetime, int add_newline); void ml_sync_all(int check_file, int check_char); void ml_preserve(buf_T *buf, int message); char_u *ml_get(linenr_T lnum); |