Browse Source

Eat redundant semicolons

Taylor Yu 6 years ago
parent
commit
8f8a4c0ced
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/or/confparse.h

+ 3 - 1
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