aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma2_encoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-19 14:00:33 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-19 14:00:33 +0200
commit4810b6bc25087be872960b9dd1d11ff07735dc88 (patch)
treeb81b5704824f73450c94e61a15700e61e4ba9faa /src/liblzma/lzma/lzma2_encoder.c
parentRemove dead code. (diff)
downloadxz-4810b6bc25087be872960b9dd1d11ff07735dc88.tar.xz
Move some LZMA2 constants to lzma2_encoder.h so that they
can be used outside lzma2_encoder.c.
Diffstat (limited to 'src/liblzma/lzma/lzma2_encoder.c')
-rw-r--r--src/liblzma/lzma/lzma2_encoder.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/liblzma/lzma/lzma2_encoder.c b/src/liblzma/lzma/lzma2_encoder.c
index 09a2f2e9..81b6f973 100644
--- a/src/liblzma/lzma/lzma2_encoder.c
+++ b/src/liblzma/lzma/lzma2_encoder.c
@@ -24,19 +24,6 @@
#include "lzma2_encoder.h"
-/// Maximum number of bytes of actual data per chunk (no headers)
-#define LZMA2_CHUNK_MAX (UINT32_C(1) << 16)
-
-/// Maximum uncompressed size of LZMA chunk (no headers)
-#define LZMA2_UNCOMPRESSED_MAX (UINT32_C(1) << 21)
-
-/// Maximum size of LZMA2 headers
-#define LZMA2_HEADER_MAX 6
-
-/// Size of a header for uncompressed chunk
-#define LZMA2_HEADER_UNCOMPRESSED 3
-
-
struct lzma_coder_s {
enum {
SEQ_INIT,