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/ccompat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toxcore/ccompat.h') diff --git a/toxcore/ccompat.h b/toxcore/ccompat.h index ba8c7fe8..8ff6563d 100644 --- a/toxcore/ccompat.h +++ b/toxcore/ccompat.h @@ -4,6 +4,8 @@ #ifndef C_TOXCORE_TOXCORE_CCOMPAT_H #define C_TOXCORE_TOXCORE_CCOMPAT_H +//!TOKSTYLE- + // Variable length arrays. // VLA(type, name, size) allocates a variable length array with automatic // storage duration. VLA_SIZE(name) evaluates to the runtime size of that array @@ -48,4 +50,6 @@ #define GNU_PRINTF(f, a) #endif +//!TOKSTYLE+ + #endif // C_TOXCORE_TOXCORE_CCOMPAT_H -- cgit v1.2.3