Skip to content

Commit

Permalink
fixed minor static function declaration issue
Browse files Browse the repository at this point in the history
in AVX2 mode only
  • Loading branch information
Cyan4973 committed Jan 19, 2025
1 parent ca14fac commit 237834d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/compress/zstd_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -7125,7 +7125,7 @@ size_t ZSTD_compressSequences(ZSTD_CCtx* cctx,
* @returns > 0 if there is one long length (> 65535),
* indicating the position, and type.
*/
size_t convertSequences_noRepcodes(
static size_t convertSequences_noRepcodes(
SeqDef* dstSeqs,
const ZSTD_Sequence* inSeqs,
size_t nbSequences)
Expand Down Expand Up @@ -7277,9 +7277,10 @@ size_t convertSequences_noRepcodes(

#else /* no AVX2 */

static size_t
convertSequences_noRepcodes(SeqDef* dstSeqs,
const ZSTD_Sequence* const inSeqs, size_t nbSequences)
static size_t convertSequences_noRepcodes(
SeqDef* dstSeqs,
const ZSTD_Sequence* inSeqs,
size_t nbSequences)
{
size_t longLen = 0;
size_t n;
Expand Down

0 comments on commit 237834d

Please sign in to comment.