diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-27 11:23:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-27 11:23:52 -0400 |
commit | 0279e4847352111254503159685487e5e1f58681 (patch) | |
tree | ba6145abf0a24f9e6268673cabd6b72cd2fdd90c /src/common/tortls.c | |
parent | a0dd8360983e8df41424694f4708ffa6f03f65a1 (diff) | |
download | tor-0279e4847352111254503159685487e5e1f58681.tar.gz tor-0279e4847352111254503159685487e5e1f58681.zip |
Add support for temporarily suppressing a warning
There are a few places where we want to disable a warning: for
example, when it's impossible to call a legacy API without
triggering it, or when it's impossible to include an external header
without triggering it.
This pile of macros uses GCC's c99 _Pragma support, plus the usual
macro trickery, to enable and disable warnings.
Diffstat (limited to 'src/common/tortls.c')
0 files changed, 0 insertions, 0 deletions