mirror of
https://github.com/lz4/lz4.git
synced 2024-11-26 19:34:53 +08:00
make arrays static
This commit is contained in:
parent
f239a17a6b
commit
467db788e1
24
appveyor.yml
24
appveyor.yml
@ -1,24 +1,24 @@
|
||||
version: 1.0.{build}
|
||||
environment:
|
||||
matrix:
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Debug"
|
||||
PLATFORM: "x64"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Debug"
|
||||
PLATFORM: "Win32"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Release"
|
||||
PLATFORM: "x64"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Release"
|
||||
PLATFORM: "Win32"
|
||||
- COMPILER: "clang"
|
||||
PLATFORM: "mingw64"
|
||||
- COMPILER: "gcc"
|
||||
PLATFORM: "mingw64"
|
||||
- COMPILER: "gcc"
|
||||
PLATFORM: "mingw32"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Debug"
|
||||
PLATFORM: "x64"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Debug"
|
||||
PLATFORM: "Win32"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Release"
|
||||
PLATFORM: "x64"
|
||||
- COMPILER: "visual"
|
||||
CONFIGURATION: "Release"
|
||||
PLATFORM: "Win32"
|
||||
|
||||
install:
|
||||
- ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
|
||||
|
@ -500,7 +500,7 @@ typedef struct {
|
||||
int singleChunk;
|
||||
} CompressionDesc;
|
||||
|
||||
const CompressionDesc compDescArray[] = {
|
||||
static const CompressionDesc compDescArray[] = {
|
||||
{ NULL, NULL, NULL, 0 },
|
||||
{ "LZ4_compress_default", local_LZ4_compress_default_large, NULL, 0 },
|
||||
{ "LZ4_compress_default(small dst)", local_LZ4_compress_default_small, NULL, 0 },
|
||||
@ -531,7 +531,7 @@ typedef struct {
|
||||
int frameFormat;
|
||||
} DecompressionDesc;
|
||||
|
||||
const DecompressionDesc decDescArray[] = {
|
||||
static const DecompressionDesc decDescArray[] = {
|
||||
{ NULL, NULL, 0, 0 },
|
||||
{ "LZ4_decompress_fast", local_LZ4_decompress_fast, 1, 0 },
|
||||
{ "LZ4_decompress_fast_usingDict(prefix)", local_LZ4_decompress_fast_usingDict_prefix, 1, 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user