Remove LZMA_UNSTABLE macro.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Nov 2014 18:12:27 +0000 (20:12 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Nov 2014 18:12:27 +0000 (20:12 +0200)
src/liblzma/api/lzma/container.h
src/liblzma/common/common.h
src/xz/private.h

index 52667b653c62b9b141f3a8b9c772268e06f84ffc..34cf6f48e7204bdf5795d42d74a6d3c82806b8de 100644 (file)
@@ -60,7 +60,6 @@
 #define LZMA_PRESET_EXTREME       (UINT32_C(1) << 31)
 
 
-#ifdef LZMA_UNSTABLE /* Unstable API that may change. Use only for testing. */
 /**
  * \brief       Multithreading options
  */
@@ -180,7 +179,6 @@ typedef struct {
        void *reserved_ptr4;
 
 } lzma_mt;
-#endif
 
 
 /**
@@ -314,7 +312,6 @@ extern LZMA_API(lzma_ret) lzma_stream_encoder(lzma_stream *strm,
                lzma_nothrow lzma_attr_warn_unused_result;
 
 
-#ifdef LZMA_UNSTABLE /* Unstable API that may change. Use only for testing. */
 /**
  * \brief       Calculate approximate memory usage of multithreaded .xz encoder
  *
@@ -356,7 +353,6 @@ extern LZMA_API(uint64_t) lzma_stream_encoder_mt_memusage(
 extern LZMA_API(lzma_ret) lzma_stream_encoder_mt(
                lzma_stream *strm, const lzma_mt *options)
                lzma_nothrow lzma_attr_warn_unused_result;
-#endif
 
 
 /**
index af14e479d0ed51dd445d5c242aaa4c3b6527b268..955d784a5b6aff7f584ac978e524b87013b7b0d1 100644 (file)
@@ -32,8 +32,6 @@
 
 #define LZMA_API(type) LZMA_API_EXPORT type LZMA_API_CALL
 
-#define LZMA_UNSTABLE
-
 #include "lzma.h"
 
 // These allow helping the compiler in some often-executed branches, whose
index 9576da82fa14092357c2da4fbfcd24aee125a0c2..4acfa8dc45583eba9acc8370ef865fc362637bb0 100644 (file)
@@ -13,7 +13,6 @@
 #include "sysdefs.h"
 #include "mythread.h"
 
-#define LZMA_UNSTABLE
 #include "lzma.h"
 
 #include <sys/types.h>