| commit | c44d2f4cb8a892a603edbbe710fa82bcd30f9cb5 | [log] [tgz] |
|---|---|---|
| author | David Benjamin <davidben@chromium.org> | Wed Aug 20 16:24:00 2014 -0400 |
| committer | Adam Langley <agl@google.com> | Thu Aug 21 01:06:07 2014 +0000 |
| tree | 8e26839eef5cc06c2bd3b0e3461f33b746b48d15 | |
| parent | 5213df4e9ed9ca130c40f142893cb91f2e18eee1 [diff] [blame] |
Convert all zero-argument functions to '(void)' Otherwise, in C, it becomes a K&R function declaration which doesn't actually type-check the number of arguments. Change-Id: I0731a9fefca46fb1c266bfb1c33d464cf451a22e Reviewed-on: https://boringssl-review.googlesource.com/1582 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/modes/gcm_test.c b/crypto/modes/gcm_test.c index 8c52b85..a112431 100644 --- a/crypto/modes/gcm_test.c +++ b/crypto/modes/gcm_test.c
@@ -413,7 +413,7 @@ return ret; } -int main() { +int main(void) { int ret = 0; unsigned i;