From: Hans Kristian Rosbach Date: Sat, 29 Aug 2020 08:50:50 +0000 (+0200) Subject: Reorder s->block_open and s->reproducible. X-Git-Tag: 1.9.9-b1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9a8fa9af31cb3d6871e80a1c8b11478fef8d034;p=thirdparty%2Fzlib-ng.git Reorder s->block_open and s->reproducible. --- diff --git a/deflate.h b/deflate.h index 6324d616..633ce255 100644 --- 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 {