diff options
Diffstat (limited to 'src/crypt_zip.c')
-rw-r--r-- | src/crypt_zip.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/crypt_zip.c b/src/crypt_zip.c index f7b69b0b2c..d109f5a841 100644 --- a/src/crypt_zip.c +++ b/src/crypt_zip.c @@ -44,7 +44,7 @@ static u32_T crc_32_table[256]; * Fill the CRC table, if not done already. */ static void -make_crc_tab() +make_crc_tab(void) { u32_T s, t, v; static int done = FALSE; @@ -85,13 +85,13 @@ make_crc_tab() * Initialize for encryption/decryption. */ void -crypt_zip_init(state, key, salt, salt_len, seed, seed_len) - cryptstate_T *state; - char_u *key; - char_u *salt UNUSED; - int salt_len UNUSED; - char_u *seed UNUSED; - int seed_len UNUSED; +crypt_zip_init( + cryptstate_T *state, + char_u *key, + char_u *salt UNUSED, + int salt_len UNUSED, + char_u *seed UNUSED, + int seed_len UNUSED) { char_u *p; zip_state_T *zs; @@ -114,11 +114,11 @@ crypt_zip_init(state, key, salt, salt_len, seed, seed_len) * "from" and "to" can be equal to encrypt in place. */ void -crypt_zip_encode(state, from, len, to) - cryptstate_T *state; - char_u *from; - size_t len; - char_u *to; +crypt_zip_encode( + cryptstate_T *state, + char_u *from, + size_t len, + char_u *to) { zip_state_T *zs = state->method_state; size_t i; @@ -137,11 +137,11 @@ crypt_zip_encode(state, from, len, to) * Decrypt "from[len]" into "to[len]". */ void -crypt_zip_decode(state, from, len, to) - cryptstate_T *state; - char_u *from; - size_t len; - char_u *to; +crypt_zip_decode( + cryptstate_T *state, + char_u *from, + size_t len, + char_u *to) { zip_state_T *zs = state->method_state; size_t i; |