diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-09-26 13:41:20 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-26 15:12:34 -0400 |
commit | 8f8a4c0ced456661c3c5f20dfc9c14157ade4e35 (patch) | |
tree | 8a039f1777b8570422eed5b10008f4fd7ba3c96e /src/or/confparse.h | |
parent | b8b4143517d1fbaf513cad6a3af04770dc9e2eb8 (diff) | |
download | tor-8f8a4c0ced456661c3c5f20dfc9c14157ade4e35.tar.gz tor-8f8a4c0ced456661c3c5f20dfc9c14157ade4e35.zip |
Eat redundant semicolons
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r-- | src/or/confparse.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |