]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed minor argument property for Visual
authorYann Collet <cyan@fb.com>
Sat, 30 Dec 2017 14:42:28 +0000 (15:42 +0100)
committerYann Collet <cyan@fb.com>
Sat, 30 Dec 2017 14:42:28 +0000 (15:42 +0100)
lib/compress/zstd_opt.c

index 6af5c71118fc85fc798429ab7e3b7dcd70bfd29f..04824ccf2bde47f412a29c93fbdcf7e7063bdf01 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "zstd_compress_internal.h"
 #include "zstd_opt.h"
-#include "zstd_lazy.h"   /* ZSTD_updateTree, ZSTD_updateTree_extDict */
 
 
 #define ZSTD_LITFREQ_ADD    2   /* scaling factor for litFreq, so that frequencies adapt faster to new stats. Also used for matchSum (?) */
@@ -392,13 +391,13 @@ void ZSTD_updateTree_internal(ZSTD_CCtx* zc,
 }
 
 void ZSTD_updateTree(ZSTD_CCtx* zc,
-                const BYTE* const ip, const BYTE* const iend,
-                const U32 nbCompares, const U32 mls)
+                const BYTE* ip, const BYTE* iend,
+                U32 nbCompares, U32 mls)
 {
     ZSTD_updateTree_internal(zc, ip, iend, nbCompares, mls, 0 /*extDict*/);
 }
 
-void ZSTD_updateTree_extDict(ZSTD_CCtx* zc,
+static void ZSTD_updateTree_extDict(ZSTD_CCtx* zc,
                 const BYTE* const ip, const BYTE* const iend,
                 const U32 nbCompares, const U32 mls)
 {