diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-06 11:02:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-06 11:05:07 -0500 |
commit | a77a366b87fb04a878392284241fe72850b4dd88 (patch) | |
tree | 193a9a42c2627278583f92233381a2688debbc9b /src/common/compress.h | |
parent | f98cb5d3552666ede73137d998162094d5a31a1a (diff) | |
download | tor-a77a366b87fb04a878392284241fe72850b4dd88.tar.gz tor-a77a366b87fb04a878392284241fe72850b4dd88.zip |
Warn on zstd header/library version mismatch
If we're going to potentially degrade performance in this case, we
may as well tell people so.
Diffstat (limited to 'src/common/compress.h')
-rw-r--r-- | src/common/compress.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compress.h b/src/common/compress.h index 952102bf97..65d63a4386 100644 --- a/src/common/compress.h +++ b/src/common/compress.h @@ -87,6 +87,7 @@ void tor_compress_free_(tor_compress_state_t *state); size_t tor_compress_state_size(const tor_compress_state_t *state); void tor_compress_init(void); +void tor_compress_log_init_warnings(void); #endif /* !defined(TOR_COMPRESS_H) */ |