Mercurial > vim
diff src/crypt_zip.c @ 18757:c469e1930456 v8.1.2368
patch 8.1.2368: using old C style comments
Commit: https://github.com/vim/vim/commit/c667da5185ce5dce914d2006d62da2be0cedb384
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 20:52:27 2019 +0100
patch 8.1.2368: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 21:00:04 +0100 |
parents | ce04ebdf26b8 |
children | 7e9e53a0368f |
line wrap: on
line diff
--- a/src/crypt_zip.c +++ b/src/crypt_zip.c @@ -23,10 +23,10 @@ * problem since this code was originally created in Europe and India. */ -/* Need a type that should be 32 bits. 64 also works but wastes space. */ -typedef unsigned int u32_T; /* int is at least 32 bits */ +// Need a type that should be 32 bits. 64 also works but wastes space. +typedef unsigned int u32_T; // int is at least 32 bits -/* The state of encryption, referenced by cryptstate_T. */ +// The state of encryption, referenced by cryptstate_T. typedef struct { u32_T keys[3]; } zip_state_T; @@ -151,4 +151,4 @@ crypt_zip_decode( } } -#endif /* FEAT_CRYPT */ +#endif // FEAT_CRYPT