mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
ctassert.h: fix CTASSERT_DECL so coccinelle can parse it.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
#define CTASSERT_EXPN(x, a, b) CTASSERT_DECL(x, a, b)
|
||||
#define CTASSERT_DECL(x, a, b) \
|
||||
typedef char tor_ctassert_##a##_##b[(x) ? 1 : -1] ATTR_UNUSED
|
||||
typedef char tor_ctassert_##a##_##b[(x) ? 1 : -1] ATTR_UNUSED; EAT_SEMICOLON
|
||||
|
||||
#endif /* __STDC_VERSION__ >= 201112L */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user