Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* sha256.c */ | 1 /* sha256.c */ |
2 void sha256_start __ARGS((context_sha256_T *ctx)); | 2 void sha256_start(context_sha256_T *ctx); |
3 void sha256_update __ARGS((context_sha256_T *ctx, char_u *input, UINT32_T length)); | 3 void sha256_update(context_sha256_T *ctx, char_u *input, UINT32_T length); |
4 void sha256_finish __ARGS((context_sha256_T *ctx, char_u digest[32])); | 4 void sha256_finish(context_sha256_T *ctx, char_u digest[32]); |
5 char_u *sha256_bytes __ARGS((char_u *buf, int buf_len, char_u *salt, int salt_len)); | 5 char_u *sha256_bytes(char_u *buf, int buf_len, char_u *salt, int salt_len); |
6 char_u *sha256_key __ARGS((char_u *buf, char_u *salt, int salt_len)); | 6 char_u *sha256_key(char_u *buf, char_u *salt, int salt_len); |
7 int sha256_self_test __ARGS((void)); | 7 int sha256_self_test(void); |
8 void sha2_seed __ARGS((char_u *header, int header_len, char_u *salt, int salt_len)); | 8 void sha2_seed(char_u *header, int header_len, char_u *salt, int salt_len); |
9 /* vim: set ft=c : */ | 9 /* vim: set ft=c : */ |