diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-09 23:56:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-16 11:05:08 +0000 |
commit | c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 (patch) | |
tree | bc6f5738bb6a948146cedb612cc12abb3e158fb4 /toxcore/crypto_core.h | |
parent | 7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 (diff) |
Remove tokstyle exemptions from build files.
We put some tokstyle exemptions into the source files themselves,
instead. This way we can check some of the code in those files, and more
in the future when tokstyle supports more constructs (like apidsl).
Also: hacked ping_array.api.h to not emit `_array` as parameter names.
We'll need to fix apidsl to do this better. This works for now.
Diffstat (limited to 'toxcore/crypto_core.h')
-rw-r--r-- | toxcore/crypto_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/crypto_core.h b/toxcore/crypto_core.h index 07412e7e..425c3244 100644 --- a/toxcore/crypto_core.h +++ b/toxcore/crypto_core.h | |||
@@ -83,7 +83,7 @@ uint32_t crypto_sha512_size(void); | |||
83 | * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may | 83 | * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may |
84 | * take 1 time, because it immediately knows that the two strings are not equal. | 84 | * take 1 time, because it immediately knows that the two strings are not equal. |
85 | */ | 85 | */ |
86 | int32_t crypto_memcmp(const void *p1, const void *p2, size_t length); | 86 | int32_t crypto_memcmp(const uint8_t *p1, const uint8_t *p2, size_t length); |
87 | 87 | ||
88 | /** | 88 | /** |
89 | * A `bzero`-like function which won't be optimised away by the compiler. Some | 89 | * A `bzero`-like function which won't be optimised away by the compiler. Some |