fixed legacy compilation tests

for some reason, these tests started failing recently on CircleCI
This commit is contained in:
Yann Collet
2018-09-27 18:15:14 -07:00
parent 7318753d47
commit 73773c6b6a
4 changed files with 21 additions and 2 deletions
+3 -2
View File
@@ -36,7 +36,7 @@ size_t const COMPRESSED_SIZE = 917;
const char* const EXPECTED; /* content is at end of file */
int testSimpleAPI(void)
static int testSimpleAPI(void)
{
size_t const size = strlen(EXPECTED);
char* const output = malloc(size);
@@ -71,7 +71,8 @@ int testSimpleAPI(void)
return 0;
}
int testStreamingAPI(void)
static int testStreamingAPI(void)
{
size_t const outBuffSize = ZSTD_DStreamOutSize();
char* const outBuff = malloc(outBuffSize);