]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Correct the initialization requirements for deflateInit2().
authorMark Adler <madler@alumni.caltech.edu>
Wed, 31 Jan 2018 21:24:12 +0000 (13:24 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 13 Dec 2018 07:58:48 +0000 (08:58 +0100)
zlib-ng.h
zlib.h

index 7f1ce991efc703e3cbb63babf2788e84fb86239e..ce47d56f515b50527180b21f1ae80bd8b0ea1351 100644 (file)
--- a/zlib-ng.h
+++ b/zlib-ng.h
@@ -530,8 +530,7 @@ ZEXTERN int ZEXPORT zng_deflateInit2 (zng_stream *strm,
                                      int  strategy);
 
      This is another version of deflateInit with more compression options.  The
-   fields next_in, zalloc, zfree and opaque must be initialized before by the
-   caller.
+   fields zalloc, zfree and opaque must be initialized before by the caller.
 
      The method parameter is the compression method.  It must be Z_DEFLATED in
    this version of the library.
diff --git a/zlib.h b/zlib.h
index c7b7bf67adcef0385b70949e6a6eafbd8332217e..e48e927cafb7ab34058a54d4431e1f039cd953e3 100644 (file)
--- a/zlib.h
+++ b/zlib.h
@@ -541,8 +541,7 @@ ZEXTERN int ZEXPORT deflateInit2 (z_stream *strm,
                                      int  strategy);
 
      This is another version of deflateInit with more compression options.  The
-   fields next_in, zalloc, zfree and opaque must be initialized before by the
-   caller.
+   fields zalloc, zfree and opaque must be initialized before by the caller.
 
      The method parameter is the compression method.  It must be Z_DEFLATED in
    this version of the library.