diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-10 15:13:30 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-02-06 14:54:04 -0500 |
commit | 99a5aecbc779985629abce22dfc00a4e9d6ccb9e (patch) | |
tree | 25ad3754ba87a24f50858f9809a8269dcfe531cb /src/app/config/statefile.c | |
parent | 06a6130666315cb1d385b89d7c95df42ac17db1a (diff) | |
download | tor-99a5aecbc779985629abce22dfc00a4e9d6ccb9e.tar.gz tor-99a5aecbc779985629abce22dfc00a4e9d6ccb9e.zip |
Wrap columnar tables in "clang-format off/on"
These tables have aligned comments, so we don't want clang-format to
mess with them.
Diffstat (limited to 'src/app/config/statefile.c')
-rw-r--r-- | src/app/config/statefile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c index d9667733cc..dcc55f1898 100644 --- a/src/app/config/statefile.c +++ b/src/app/config/statefile.c @@ -78,6 +78,7 @@ DUMMY_TYPECHECK_INSTANCE(or_state_t); VAR(#member, conftype, member, initvalue) /** Array of "state" variables saved to the ~/.tor/state file. */ +// clang-format off static const config_var_t state_vars_[] = { /* Remember to document these in state-contents.txt ! */ @@ -134,6 +135,7 @@ static const config_var_t state_vars_[] = { END_OF_CONFIG_VARS }; +// clang-format on #undef VAR #undef V |