aboutsummaryrefslogtreecommitdiff
path: root/src/lib/cc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 13:12:28 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:32:13 -0400
commit4346e5569ef9957688aa5b50eab58e7bbe145bb1 (patch)
tree85ef9ba6178995942cd88d06370c128e912dd07f /src/lib/cc
parent189375fb5dfb6757f1aa0ed36532d933fc382e1e (diff)
downloadtor-4346e5569ef9957688aa5b50eab58e7bbe145bb1.tar.gz
tor-4346e5569ef9957688aa5b50eab58e7bbe145bb1.zip
ctassert.h: fix CTASSERT_DECL so coccinelle can parse it.
Diffstat (limited to 'src/lib/cc')
-rw-r--r--src/lib/cc/ctassert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cc/ctassert.h b/src/lib/cc/ctassert.h
index bedf0b83a6..d9d3aa40b0 100644
--- 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 */