From: Taylor Yu Date: Tue, 26 Sep 2017 18:41:20 +0000 (-0500) Subject: Eat redundant semicolons X-Git-Tag: tor-0.3.2.2-alpha~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f8a4c0ced456661c3c5f20dfc9c14157ade4e35;p=thirdparty%2Ftor.git Eat redundant semicolons --- diff --git a/src/or/confparse.h b/src/or/confparse.h index 618fa70f2d..6f0b3b325c 100644 --- 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