Skip to content

Commit

Permalink
Fix compiler warnings for lz4
Browse files Browse the repository at this point in the history
  • Loading branch information
phaag committed Feb 17, 2024
1 parent 4e98a35 commit 4a7de41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/compress/lz4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ int LZ4_freeStream (LZ4_stream_t* LZ4_stream)

typedef enum { _ld_fast, _ld_slow } LoadDict_mode_e;
#define HASH_UNIT sizeof(reg_t)
int LZ4_loadDict_internal(LZ4_stream_t* LZ4_dict,
static int LZ4_loadDict_internal(LZ4_stream_t* LZ4_dict,
const char* dictionary, int dictSize,
LoadDict_mode_e _ld)
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/compress/lz4hc.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ typedef struct {
int back; /* negative value */
} LZ4HC_match_t;

LZ4HC_match_t LZ4HC_searchExtDict(const BYTE* ip, U32 ipIndex,
static LZ4HC_match_t LZ4HC_searchExtDict(const BYTE* ip, U32 ipIndex,
const BYTE* const iLowLimit, const BYTE* const iHighLimit,
const LZ4HC_CCtx_internal* dictCtx, U32 gDictEndIndex,
int currentBestML, int nbAttempts)
Expand Down

0 comments on commit 4a7de41

Please sign in to comment.