Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2014-12-17 02:53:01 +0300
committerAdam Langley <agl@google.com>2015-01-06 03:27:07 +0300
commita7f6d3c1dcf38b5312ab6f30cd2a14d07f20ba8c (patch)
treee5126c483a3d2d0eebf3e9b82e8cbaee76598915 /crypto/digest
parent93efb7228bf9f1710075c4fd1ca3a9717b892e34 (diff)
Add void in place of empty function arguments.
Since this is C89 we need to maintain this ancient practice. Change-Id: I7223e7c38a35cf551b6e3c9159d2e21ebf7e62be Reviewed-on: https://boringssl-review.googlesource.com/2631 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/digest')
-rw-r--r--crypto/digest/digests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest/digests.c b/crypto/digest/digests.c
index 52d446fd..ac00ed34 100644
--- a/crypto/digest/digests.c
+++ b/crypto/digest/digests.c
@@ -234,7 +234,7 @@ const EVP_MD *EVP_md5_sha1(void) { return &md5_sha1_md; }
struct nid_to_digest {
int nid;
- const EVP_MD *(*md_func)();
+ const EVP_MD* (*md_func)(void);
};
static const struct nid_to_digest nid_to_digest_mapping[] = {