make arrays static

This commit is contained in:
Yann Collet 2023-12-26 00:27:56 -08:00
parent f239a17a6b
commit 467db788e1
2 changed files with 14 additions and 14 deletions

View File

@ -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%

View File

@ -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 },