diff options
| author | Xin LI <delphij@FreeBSD.org> | 2024-02-17 19:43:52 -0800 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2024-02-17 19:43:52 -0800 |
| commit | f4695a30267c5d31987c7bc3eda906f55a8761be (patch) | |
| tree | 7a0132f74b8152a3c8cab5cdaaac42234181d5b5 /test | |
| parent | 900147a461df11f88acb3072821806cca8e574c9 (diff) | |
Vendor import of zlib 1.3.1.vendor/zlib/1.3.1vendor/zlib
Diffstat (limited to 'test')
| -rw-r--r-- | test/example.c | 3 | ||||
| -rw-r--r-- | test/minigzip.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/example.c b/test/example.c index f27ba8e2fdcb..c3521dd5934f 100644 --- a/test/example.c +++ b/test/example.c @@ -364,7 +364,8 @@ static void test_flush(Byte *compr, uLong *comprLen) { /* =========================================================================== * Test inflateSync() */ -static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) { +static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, + uLong uncomprLen) { int err; z_stream d_stream; /* decompression stream */ diff --git a/test/minigzip.c b/test/minigzip.c index c72356dbccf2..134e10e6c3e9 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -303,7 +303,7 @@ static void error(const char *msg) { #ifdef USE_MMAP /* MMAP version, Miguel Albrecht <malbrech@eso.org> */ /* Try compressing the input file at once using mmap. Return Z_OK if - * if success, Z_ERRNO otherwise. + * success, Z_ERRNO otherwise. */ static int gz_compress_mmap(FILE *in, gzFile out) { int len; |
