summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lz4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lz4.c b/lz4.c
index f8a80c4..ea327d5 100644
--- a/lz4.c
+++ b/lz4.c
@@ -250,7 +250,7 @@ struct refTables
//****************************
#if LZ4_ARCH64
-inline int LZ4_NbCommonBytes (register U64 val)
+static inline int LZ4_NbCommonBytes (register U64 val)
{
#if defined(LZ4_BIG_ENDIAN)
#if defined(_MSC_VER) && !defined(LZ4_FORCE_SW_BITCOUNT)
@@ -282,7 +282,7 @@ inline int LZ4_NbCommonBytes (register U64 val)
#else
-inline int LZ4_NbCommonBytes (register U32 val)
+static inline int LZ4_NbCommonBytes (register U32 val)
{
#if defined(LZ4_BIG_ENDIAN)
#if defined(_MSC_VER) && !defined(LZ4_FORCE_SW_BITCOUNT)
@@ -325,7 +325,7 @@ inline int LZ4_NbCommonBytes (register U32 val)
// If it cannot achieve it, compression will stop, and result of the function will be zero.
// return : the number of bytes written in buffer 'dest', or 0 if the compression fails
-inline int LZ4_compressCtx(void** ctx,
+static inline int LZ4_compressCtx(void** ctx,
const char* source,
char* dest,
int isize,
@@ -490,7 +490,7 @@ _last_literals:
#define HASH64KTABLESIZE (1U<<HASHLOG64K)
#define LZ4_HASH64K_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-HASHLOG64K))
#define LZ4_HASH64K_VALUE(p) LZ4_HASH64K_FUNCTION(A32(p))
-inline int LZ4_compress64kCtx(void** ctx,
+static inline int LZ4_compress64kCtx(void** ctx,
const char* source,
char* dest,
int isize,