aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-10-22 20:00:30 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-10-22 20:00:30 +0000
commit706cfae467a217cc786fd96a72cc2e33c61987e4 (patch)
treee7673904660df47b5abd9a1c33cf982a514dac66 /tests/legacy.c
parent42239e68a5cfba3b37b054425eace8d14e0844e3 (diff)
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);