comparison src/sha256.c @ 14862:27b9a84395b5 v8.1.0443

patch 8.1.0443: unnecessary static function prototypes commit https://github.com/vim/vim/commit/6dff58f15cede9139b2fcfc64c9064326ea3d3b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 30 21:43:26 2018 +0200 patch 8.1.0443: unnecessary static function prototypes Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Sep 2018 21:45:07 +0200
parents 4aead6a9b7a9
children d34ec6fe207d
comparison
equal deleted inserted replaced
14861:41fbdae837df 14862:27b9a84395b5
21 */ 21 */
22 22
23 #include "vim.h" 23 #include "vim.h"
24 24
25 #if defined(FEAT_CRYPT) || defined(FEAT_PERSISTENT_UNDO) 25 #if defined(FEAT_CRYPT) || defined(FEAT_PERSISTENT_UNDO)
26
27 static void sha256_process(context_sha256_T *ctx, char_u data[64]);
28 26
29 #define GET_UINT32(n, b, i) \ 27 #define GET_UINT32(n, b, i) \
30 { \ 28 { \
31 (n) = ( (UINT32_T)(b)[(i) ] << 24) \ 29 (n) = ( (UINT32_T)(b)[(i) ] << 24) \
32 | ( (UINT32_T)(b)[(i) + 1] << 16) \ 30 | ( (UINT32_T)(b)[(i) + 1] << 16) \
263 PUT_UINT32(ctx->state[7], digest, 28); 261 PUT_UINT32(ctx->state[7], digest, 28);
264 } 262 }
265 #endif /* FEAT_CRYPT || FEAT_PERSISTENT_UNDO */ 263 #endif /* FEAT_CRYPT || FEAT_PERSISTENT_UNDO */
266 264
267 #if defined(FEAT_CRYPT) || defined(PROTO) 265 #if defined(FEAT_CRYPT) || defined(PROTO)
268 static unsigned int get_some_time(void);
269
270 /* 266 /*
271 * Returns hex digest of "buf[buf_len]" in a static array. 267 * Returns hex digest of "buf[buf_len]" in a static array.
272 * if "salt" is not NULL also do "salt[salt_len]". 268 * if "salt" is not NULL also do "salt[salt_len]".
273 */ 269 */
274 char_u * 270 char_u *