diff options
Diffstat (limited to 'parts/documentation/protocols/chm/decompress.cpp')
-rw-r--r-- | parts/documentation/protocols/chm/decompress.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/documentation/protocols/chm/decompress.cpp b/parts/documentation/protocols/chm/decompress.cpp index b8f45ae2..e10bab45 100644 --- a/parts/documentation/protocols/chm/decompress.cpp +++ b/parts/documentation/protocols/chm/decompress.cpp @@ -323,9 +323,9 @@ int LZXinit(int window) { */ int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { - register UWORD sym; - register ULONG leaf; - register UBYTE bit_num = 1; + UWORD sym; + ULONG leaf; + UBYTE bit_num = 1; ULONG fill; ULONG pos = 0; /* the current position in the decode table */ ULONG table_mask = 1 << nbits; @@ -405,8 +405,8 @@ int lzx_read_lens(UBYTE *lens, ULONG first, ULONG last, lzx_bits *lb) { ULONG i,j, x,y; int z; - register ULONG bitbuf = lb->bb; - register int bitsleft = lb->bl; + ULONG bitbuf = lb->bb; + int bitsleft = lb->bl; UBYTE *inpos = lb->ip; UWORD *hufftbl; @@ -462,8 +462,8 @@ int LZXdecompress(UBYTE* inpos, int inlen, UBYTE* outpos, int outlen) { ULONG R1 = LZX(R1); ULONG R2 = LZX(R2); - register ULONG bitbuf; - register int bitsleft; + ULONG bitbuf; + int bitsleft; ULONG match_offset, i,j,k; /* ijk used in READ_HUFFSYM macro */ lzx_bits lb; /* used in READ_LENGTHS macro */ |