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/lib/osinfo/uname.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/lib/osinfo/uname.c')
-rw-r--r-- | src/lib/osinfo/uname.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c index ac99726f51..66439d1336 100644 --- a/src/lib/osinfo/uname.c +++ b/src/lib/osinfo/uname.c @@ -61,6 +61,7 @@ get_uname,(void)) */ /* Windows Server 2019 is indistinguishable from Windows Server 2016 * using GetVersionEx(). +// clang-format off { 10, 0, NULL, "Windows Server 2019" }, */ { 10, 0, "Windows 10", "Windows Server 2016" }, { 6, 3, "Windows 8.1", "Windows Server 2012 R2" }, @@ -73,6 +74,7 @@ get_uname,(void)) { 5, 0, "Windows 2000 Professional", "Windows 2000 Server" }, /* Earlier versions are not supported by GetVersionEx(). */ { 0, 0, NULL, NULL } +// clang-format on }; memset(&info, 0, sizeof(info)); info.dwOSVersionInfoSize = sizeof(info); |