summaryrefslogtreecommitdiff
path: root/src/common/compress_lzma.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 10:29:07 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:29:07 -0400
commit4266ec766af8e210ac52f597699b44818960ee39 (patch)
tree902ce2bd58a59f78b8317e2277ecddbf233cdae3 /src/common/compress_lzma.h
parent91dd4a00f7d4891e24187a849933547128aeeb9f (diff)
downloadtor-4266ec766af8e210ac52f597699b44818960ee39.tar.gz
tor-4266ec766af8e210ac52f597699b44818960ee39.zip
Use atomic counters for compressor allocation.
Diffstat (limited to 'src/common/compress_lzma.h')
-rw-r--r--src/common/compress_lzma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compress_lzma.h b/src/common/compress_lzma.h
index 71de56a1c6..60a5f9ce82 100644
--- a/src/common/compress_lzma.h
+++ b/src/common/compress_lzma.h
@@ -47,5 +47,7 @@ size_t tor_lzma_compress_state_size(const tor_lzma_compress_state_t *state);
size_t tor_lzma_get_total_allocation(void);
+void tor_lzma_init(void);
+
#endif // TOR_COMPRESS_LZMA_H.