0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1358

Problem:    Compiler warning when not building with +crypt.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar
2016-02-19 22:46:34 +01:00
parent 132006c3d0
commit 1d6fbe6540
2 changed files with 4 additions and 0 deletions

View File

@@ -116,7 +116,9 @@ static void u_freeentry(u_entry_T *, long);
static void corruption_error(char *mesg, char_u *file_name);
static void u_free_uhp(u_header_T *uhp);
static int undo_write(bufinfo_T *bi, char_u *ptr, size_t len);
# ifdef FEAT_CRYPT
static int undo_flush(bufinfo_T *bi);
# endif
static int fwrite_crypt(bufinfo_T *bi, char_u *ptr, size_t len);
static int undo_write_bytes(bufinfo_T *bi, long_u nr, int len);
static void put_header_ptr(bufinfo_T *bi, u_header_T *uhp);