diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:42 +0900 |
commit | da6bd0768e4304e6c2853d012c7d0686a205addb (patch) | |
tree | 28183b703384e45f7330e6db3212dce058f70785 /parts/documentation/protocols | |
parent | ae5e2adcf39a6c7abbcd874e40e05bbbff428e2c (diff) | |
download | tdevelop-da6bd0768e4304e6c2853d012c7d0686a205addb.tar.gz tdevelop-da6bd0768e4304e6c2853d012c7d0686a205addb.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/documentation/protocols')
-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 */ |