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. --- toxencryptsave/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxencryptsave/defines.h') diff --git a/toxencryptsave/defines.h b/toxencryptsave/defines.h index 0bc1d9ed..8a490344 100644 --- a/toxencryptsave/defines.h +++ b/toxencryptsave/defines.h @@ -1,7 +1,7 @@ #ifndef C_TOXCORE_TOXENCRYPTSAVE_DEFINES_H #define C_TOXCORE_TOXENCRYPTSAVE_DEFINES_H -#define TOX_ENC_SAVE_MAGIC_NUMBER "toxEsave" +#define TOX_ENC_SAVE_MAGIC_NUMBER ((const uint8_t *)"toxEsave") #define TOX_ENC_SAVE_MAGIC_LENGTH 8 #endif -- cgit v1.2.3