summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-05-27 13:37:48 (GMT)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-05-27 13:37:48 (GMT)
commitcd3bcd0043754bee54deaa63b085f4bff029b8ff (patch)
tree79c753ae07a6ba5e909549a33dcbec1b4a52a37e /lz4.c
parente185b252f0c62a46929bb3fa3be4ab4d1d15d5d5 (diff)
downloadlz4-cd3bcd0043754bee54deaa63b085f4bff029b8ff.zip
lz4-cd3bcd0043754bee54deaa63b085f4bff029b8ff.tar.gz
lz4-cd3bcd0043754bee54deaa63b085f4bff029b8ff.tar.bz2
New experimental mode : compress blocks using data from previous blocks (option -BD) (limitation : -hc mode only)
Changed deprecated function names to "static", in order to avoid duplicate definition. Thanks Maciej Adamczyk for reporting. Changed a few command line options Prettify help text git-svn-id: https://lz4.googlecode.com/svn/trunk@96 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lz4.c b/lz4.c
index afbc6ef..327227e 100644
--- a/lz4.c
+++ b/lz4.c
@@ -114,9 +114,9 @@ Note : this source file requires "lz4_encoder.h" and "lz4_decoder.h"
#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
-#ifdef _MSC_VER // Visual Studio
+#ifdef _MSC_VER // Visual Studio
# include <intrin.h> // For Visual 2005
-# if LZ4_ARCH64 // 64-bit
+# if LZ4_ARCH64 // 64-bit
# pragma intrinsic(_BitScanForward64) // For Visual 2005
# pragma intrinsic(_BitScanReverse64) // For Visual 2005
# else
@@ -403,7 +403,7 @@ to be used by the LZ4_compress_heap* family of functions.
LZ4_createHeapMemory() returns NULL is memory allocation fails.
*/
void* LZ4_create() { return malloc(HASHTABLESIZE); }
-int LZ4_free(void* ctx) { free(ctx); return 0; }
+int LZ4_free(void* ctx) { free(ctx); return 0; }
/*