summaryrefslogtreecommitdiff
path: root/src/lib/compress
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 11:32:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit471104eaa5e7fbe1b5a32b8be388daae328abd4a (patch)
tree65ff6d32af5b8713009db5b067fb3bd5fddeb076 /src/lib/compress
parent7a61a92870df84c37bacd9d065e0c8df2b938d37 (diff)
downloadtor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.tar.gz
tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.zip
Remove needless includes from or.h
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
Diffstat (limited to 'src/lib/compress')
-rw-r--r--src/lib/compress/compress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/compress/compress.h b/src/lib/compress/compress.h
index ae98e1aaef..4466e27c4d 100644
--- a/src/lib/compress/compress.h
+++ b/src/lib/compress/compress.h
@@ -18,7 +18,7 @@
* GZIP_METHOD is guaranteed to be supported by the compress/uncompress
* functions here. Call tor_compress_supports_method() to check if a given
* compression schema is supported by Tor. */
-typedef enum {
+typedef enum compress_method_t {
NO_METHOD=0, // This method must be first.
GZIP_METHOD=1,
ZLIB_METHOD=2,
@@ -32,7 +32,7 @@ typedef enum {
* BEST_COMPRESSION saves the most bandwidth; LOW_COMPRESSION saves the most
* memory.
**/
-typedef enum {
+typedef enum compression_level_t {
BEST_COMPRESSION, HIGH_COMPRESSION, MEDIUM_COMPRESSION, LOW_COMPRESSION
} compression_level_t;