]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Reorder s->block_open and s->reproducible.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 29 Aug 2020 08:50:50 +0000 (10:50 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 31 Aug 2020 11:22:54 +0000 (13:22 +0200)
deflate.h

index 6324d616fb0149a536b72084aa514d93a2bdbfd4..633ce25557e4d1f801c25f47d22b96e414395773 100644 (file)
--- a/deflate.h
+++ b/deflate.h
@@ -115,6 +115,12 @@ typedef struct internal_state {
     PREFIX(gz_headerp)   gzhead;           /* gzip header information to write */
     int                  status;           /* as the name implies */
     int                  last_flush;       /* value of flush param for previous deflate call */
+    int                  reproducible;     /* Whether reproducible compression results are required. */
+
+    int block_open;
+    /* Whether or not a block is currently open for the QUICK deflation scheme.
+     * This is set to 1 if there is an active block, or 0 if the block was just closed.
+     */
 
                 /* used by deflate.c: */
 
@@ -197,6 +203,7 @@ typedef struct internal_state {
 #ifdef X86_PCLMULQDQ_CRC
     unsigned crc0[4 * 5];
 #endif
+
                 /* used by trees.c: */
     /* Didn't use ct_data typedef below to suppress compiler warning */
     struct ct_data_s dyn_ltree[HEAP_SIZE];   /* literal and length tree */
@@ -264,15 +271,6 @@ typedef struct internal_state {
      * are always zero.
      */
 
-    int block_open;
-    /* Whether or not a block is currently open for the QUICK deflation scheme.
-     * This is set to 1 if there is an active block, or 0 if the block was just
-     * closed.
-     */
-    int reproducible;
-    /* Whether reproducible compression results are required.
-     */
-
 } deflate_state;
 
 typedef enum {