ctassert.h: fix CTASSERT_DECL so coccinelle can parse it.

This commit is contained in:
Nick Mathewson 2019-10-09 13:12:28 -04:00
parent 189375fb5d
commit 4346e5569e

View file

@ -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 */