tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 8f8a4c0ced456661c3c5f20dfc9c14157ade4e35
parent b8b4143517d1fbaf513cad6a3af04770dc9e2eb8
Author: Taylor Yu <catalyst@torproject.org>
Date:   Tue, 26 Sep 2017 13:41:20 -0500

Eat redundant semicolons

Diffstat:
Msrc/or/confparse.h | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/or/confparse.h b/src/or/confparse.h @@ -135,7 +135,9 @@ typedef struct config_var_t { #else #define CONF_TEST_MEMBERS(tp, conftype, member) #define END_OF_CONFIG_VARS { NULL, CONFIG_TYPE_OBSOLETE, 0, NULL } -#define DUMMY_TYPECHECK_INSTANCE(tp) +/* Repeatedly declarable incomplete struct to absorb redundant semicolons */ +#define DUMMY_TYPECHECK_INSTANCE(tp) \ + struct tor_semicolon_eater #endif /** Type of a callback to validate whether a given configuration is