diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-15 16:24:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-15 16:24:44 -0400 |
commit | c1deabd3b0c9e2701696afc80ac8392f0efda2c7 (patch) | |
tree | e9aa0dcc25f1687fac2d2de764c22693c75e20cf /src/common/buffers.c | |
parent | 7a597718bb9cda3dd553c2b12fd42f04ead44c85 (diff) | |
download | tor-c1deabd3b0c9e2701696afc80ac8392f0efda2c7.tar.gz tor-c1deabd3b0c9e2701696afc80ac8392f0efda2c7.zip |
Run our #else/#endif annotator on our source code.
Diffstat (limited to 'src/common/buffers.c')
-rw-r--r-- | src/common/buffers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/buffers.c b/src/common/buffers.c index 50673646df..d8f33aeed6 100644 --- a/src/common/buffers.c +++ b/src/common/buffers.c @@ -39,7 +39,7 @@ #define check() STMT_BEGIN buf_assert_ok(buf); STMT_END #else #define check() STMT_NIL -#endif +#endif /* defined(PARANOIA) */ /* Implementation notes: * @@ -98,7 +98,7 @@ DBG_S(tor_assert(a == b)); \ memset(a,0,SENTINEL_LEN); \ } while (0) -#endif +#endif /* defined(DISABLE_MEMORY_SENTINELS) */ /** Move all bytes stored in <b>chunk</b> to the front of <b>chunk</b>->mem, * to free up space at the end. */ @@ -311,7 +311,7 @@ buf_new_with_data(const char *cp, size_t sz) return buf; } -#endif +#endif /* defined(TOR_UNIT_TESTS) */ /** Remove the first <b>n</b> bytes from buf. */ void |