Mercurial > vim
diff src/proto/sha256.pro @ 7668:21b0a39d13ed v7.4.1133
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 13:22:12 2016 +0100
patch 7.4.1133
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jan 2016 13:30:06 +0100 |
parents | 2b340e5c5baa |
children |
line wrap: on
line diff
--- a/src/proto/sha256.pro +++ b/src/proto/sha256.pro @@ -1,9 +1,9 @@ /* sha256.c */ -void sha256_start __ARGS((context_sha256_T *ctx)); -void sha256_update __ARGS((context_sha256_T *ctx, char_u *input, UINT32_T length)); -void sha256_finish __ARGS((context_sha256_T *ctx, char_u digest[32])); -char_u *sha256_bytes __ARGS((char_u *buf, int buf_len, char_u *salt, int salt_len)); -char_u *sha256_key __ARGS((char_u *buf, char_u *salt, int salt_len)); -int sha256_self_test __ARGS((void)); -void sha2_seed __ARGS((char_u *header, int header_len, char_u *salt, int salt_len)); +void sha256_start(context_sha256_T *ctx); +void sha256_update(context_sha256_T *ctx, char_u *input, UINT32_T length); +void sha256_finish(context_sha256_T *ctx, char_u digest[32]); +char_u *sha256_bytes(char_u *buf, int buf_len, char_u *salt, int salt_len); +char_u *sha256_key(char_u *buf, char_u *salt, int salt_len); +int sha256_self_test(void); +void sha2_seed(char_u *header, int header_len, char_u *salt, int salt_len); /* vim: set ft=c : */