diff options
author | teor <teor@torproject.org> | 2019-11-05 12:01:29 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 12:01:29 +1000 |
commit | 8b91fa707573e59dedaa09afdbcbf766e57ff750 (patch) | |
tree | 48c9a65244c2a5c47708d6a57f39b1054acc3966 /src/feature | |
parent | 81972353cbd129984b7cf519bc10a726592793b3 (diff) | |
download | tor-8b91fa707573e59dedaa09afdbcbf766e57ff750.tar.gz tor-8b91fa707573e59dedaa09afdbcbf766e57ff750.zip |
config: Run "make autostyle"
Part of 32213.
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/dirauth/dirauth_config.h | 2 | ||||
-rw-r--r-- | src/feature/relay/relay_config.h | 6 | ||||
-rw-r--r-- | src/feature/relay/transport_config.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/feature/dirauth/dirauth_config.h b/src/feature/dirauth/dirauth_config.h index fbe4ec1a52..655ab0a7fa 100644 --- a/src/feature/dirauth/dirauth_config.h +++ b/src/feature/dirauth/dirauth_config.h @@ -39,7 +39,7 @@ int options_act_dirauth_mtbf(const or_options_t *old_options); int options_act_dirauth_stats(const or_options_t *old_options, bool *print_notice_out); -#else +#else /* !defined(HAVE_MODULE_DIRAUTH) */ /** When tor is compiled with the dirauth module disabled, it can't be * configured as a directory authority. diff --git a/src/feature/relay/relay_config.h b/src/feature/relay/relay_config.h index c0d7d41240..214f07efc2 100644 --- a/src/feature/relay/relay_config.h +++ b/src/feature/relay/relay_config.h @@ -88,9 +88,9 @@ STATIC int check_bridge_distribution_setting(const char *bd); STATIC int have_enough_mem_for_dircache(const or_options_t *options, size_t total_mem, char **msg); -#endif +#endif /* defined(RELAY_CONFIG_PRIVATE) */ -#else +#else /* !defined(HAVE_MODULE_RELAY) */ #include "lib/cc/compat_compiler.h" @@ -183,6 +183,6 @@ options_validate_relay_mode(const or_options_t *old_options, #define options_act_relay_dir(old_options) \ (((void)(old_options)),0) -#endif +#endif /* defined(HAVE_MODULE_RELAY) */ #endif /* !defined(TOR_FEATURE_RELAY_RELAY_CONFIG_H) */ diff --git a/src/feature/relay/transport_config.h b/src/feature/relay/transport_config.h index de6e7668e2..d3cceb3698 100644 --- a/src/feature/relay/transport_config.h +++ b/src/feature/relay/transport_config.h @@ -34,9 +34,9 @@ STATIC smartlist_t *get_options_from_transport_options_line( const char *line, const char *transport); -#endif +#endif /* defined(RELAY_TRANSPORT_CONFIG_PRIVATE) */ -#else +#else /* !defined(HAVE_MODULE_RELAY) */ /** When tor is compiled with the relay module disabled, it can't be * configured with server pluggable transports. @@ -80,6 +80,6 @@ options_validate_server_transport(const or_options_t *old_options, #define options_act_server_transport(old_options) \ (((void)(old_options)),0) -#endif +#endif /* defined(HAVE_MODULE_RELAY) */ #endif /* !defined(TOR_FEATURE_RELAY_TRANSPORT_CONFIG_H) */ |