Explorar el Código

Eat redundant semicolons

Taylor Yu hace 6 años
padre
commit
8f8a4c0ced
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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