From 8f8a4c0ced456661c3c5f20dfc9c14157ade4e35 Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Tue, 26 Sep 2017 13:41:20 -0500 Subject: Eat redundant semicolons --- src/or/confparse.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/or/confparse.h') 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 -- cgit v1.2.3-54-g00ecf