aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy.c')
-rw-r--r--tests/legacy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/legacy.c b/tests/legacy.c
index 847e1d25e96b..e1cf82f2f9d8 100644
--- a/tests/legacy.c
+++ b/tests/legacy.c
@@ -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);