From: Nick Mathewson Date: Wed, 9 Oct 2019 17:12:28 +0000 (-0400) Subject: ctassert.h: fix CTASSERT_DECL so coccinelle can parse it. X-Git-Tag: tor-0.4.3.1-alpha~262^2~1^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4346e5569ef9957688aa5b50eab58e7bbe145bb1;p=thirdparty%2Ftor.git ctassert.h: fix CTASSERT_DECL so coccinelle can parse it. --- 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 */