]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Eat redundant semicolons
authorTaylor Yu <catalyst@torproject.org>
Tue, 26 Sep 2017 18:41:20 +0000 (13:41 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 26 Sep 2017 19:12:34 +0000 (15:12 -0400)
src/or/confparse.h

index 618fa70f2ddae572f213fa11a7ea10ef92c392a9..6f0b3b325c24cbcb3faaa2fdc501f24008f3bc5f 100644 (file)
@@ -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