summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-27 11:23:52 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-27 11:23:52 -0400
commit0279e4847352111254503159685487e5e1f58681 (patch)
treeba6145abf0a24f9e6268673cabd6b72cd2fdd90c /src/common/tortls.c
parenta0dd8360983e8df41424694f4708ffa6f03f65a1 (diff)
downloadtor-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