summaryrefslogtreecommitdiff
path: root/lib/bzip2/bzlib_compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bzip2/bzlib_compress.c')
-rw-r--r--lib/bzip2/bzlib_compress.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/bzip2/bzlib_compress.c b/lib/bzip2/bzlib_compress.c
index 68d948b427a..d9400ca758c 100644
--- a/lib/bzip2/bzlib_compress.c
+++ b/lib/bzip2/bzlib_compress.c
@@ -80,7 +80,6 @@ void BZ2_bsInitWrite ( EState* s )
s->bsBuff = 0;
}
-
/*---------------------------------------------------*/
static
void bsFinishWrite ( EState* s )
@@ -93,7 +92,6 @@ void bsFinishWrite ( EState* s )
}
}
-
/*---------------------------------------------------*/
#define bsNEEDW(nz) \
{ \
@@ -106,7 +104,6 @@ void bsFinishWrite ( EState* s )
} \
}
-
/*---------------------------------------------------*/
static
__inline__
@@ -117,7 +114,6 @@ void bsW ( EState* s, Int32 n, UInt32 v )
s->bsLive += n;
}
-
/*---------------------------------------------------*/
static
void bsPutUInt32 ( EState* s, UInt32 u )
@@ -128,7 +124,6 @@ void bsPutUInt32 ( EState* s, UInt32 u )
bsW ( s, 8, u & 0xffL );
}
-
/*---------------------------------------------------*/
static
void bsPutUChar ( EState* s, UChar c )
@@ -136,7 +131,6 @@ void bsPutUChar ( EState* s, UChar c )
bsW( s, 8, (UInt32)c );
}
-
/*---------------------------------------------------*/
/*--- The back end proper ---*/
/*---------------------------------------------------*/
@@ -154,7 +148,6 @@ void makeMaps_e ( EState* s )
}
}
-
/*---------------------------------------------------*/
static
void generateMTFValues ( EState* s )
@@ -270,7 +263,6 @@ void generateMTFValues ( EState* s )
s->nMTF = wr;
}
-
/*---------------------------------------------------*/
#define BZ_LESSER_ICOST 0
#define BZ_GREATER_ICOST 15
@@ -293,7 +285,6 @@ void sendMTFValues ( EState* s )
Made global to keep stack frame size small.
--*/
-
UInt16 cost[BZ_N_GROUPS];
Int32 fave[BZ_N_GROUPS];
@@ -492,13 +483,11 @@ void sendMTFValues ( EState* s )
alphaSize, 17 /*20*/ );
}
-
AssertH( nGroups < 8, 3002 );
AssertH( nSelectors < 32768 &&
nSelectors <= (2 + (900000 / BZ_G_SIZE)),
3003 );
-
/*--- Compute MTF values for the selectors. ---*/
{
UChar pos[BZ_N_GROUPS], ll_i, tmp2, tmp;
@@ -628,7 +617,6 @@ void sendMTFValues ( EState* s )
}
}
-
gs = ge+1;
selCtr++;
}
@@ -638,7 +626,6 @@ void sendMTFValues ( EState* s )
VPrintf1( "codes %d\n", s->numZ-nBytes );
}
-
/*---------------------------------------------------*/
void BZ2_compressBlock ( EState* s, Bool is_last_block )
{
@@ -693,7 +680,6 @@ void BZ2_compressBlock ( EState* s, Bool is_last_block )
sendMTFValues ( s );
}
-
/*-- If this is the last block, add the stream trailer. --*/
if (is_last_block) {
@@ -707,7 +693,6 @@ void BZ2_compressBlock ( EState* s, Bool is_last_block )
}
}
-
/*-------------------------------------------------------------*/
/*--- end compress.c ---*/
/*-------------------------------------------------------------*/