commit 4346e5569ef9957688aa5b50eab58e7bbe145bb1
parent 189375fb5dfb6757f1aa0ed36532d933fc382e1e
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 9 Oct 2019 13:12:28 -0400
ctassert.h: fix CTASSERT_DECL so coccinelle can parse it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/cc/ctassert.h b/src/lib/cc/ctassert.h
@@ -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 */