From c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 9 Apr 2020 23:56:19 +0000 Subject: 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. --- toxcore/crypto_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/crypto_core.h') 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); * "aaaa" and "baaa" also takes 4 time. With a regular `memcmp`, the latter may * take 1 time, because it immediately knows that the two strings are not equal. */ -int32_t crypto_memcmp(const void *p1, const void *p2, size_t length); +int32_t crypto_memcmp(const uint8_t *p1, const uint8_t *p2, size_t length); /** * A `bzero`-like function which won't be optimised away by the compiler. Some -- cgit v1.2.3