[tor/master] ctassert.h: fix CTASSERT_DECL so coccinelle can parse it.

24 Oct
2019
24 Oct
'19
12:01 a.m.
commit 4346e5569ef9957688aa5b50eab58e7bbe145bb1 Author: Nick Mathewson <nickm@torproject.org> Date: Wed Oct 9 13:12:28 2019 -0400 ctassert.h: fix CTASSERT_DECL so coccinelle can parse it. --- src/lib/cc/ctassert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/cc/ctassert.h b/src/lib/cc/ctassert.h index bedf0b83a..d9d3aa40b 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 */
2082
Age (days ago)
2082
Last active (days ago)
0 comments
1 participants
participants (1)
-
teor@torproject.org