diff options
Diffstat (limited to 'lib/zlib_inflate/inftrees.c')
-rw-r--r-- | lib/zlib_inflate/inftrees.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/lib/zlib_inflate/inftrees.c b/lib/zlib_inflate/inftrees.c index 62343c53bf7e..3fe6ce5b53e5 100644 --- a/lib/zlib_inflate/inftrees.c +++ b/lib/zlib_inflate/inftrees.c | |||
@@ -8,15 +8,6 @@ | |||
8 | 8 | ||
9 | #define MAXBITS 15 | 9 | #define MAXBITS 15 |
10 | 10 | ||
11 | const char inflate_copyright[] = | ||
12 | " inflate 1.2.3 Copyright 1995-2005 Mark Adler "; | ||
13 | /* | ||
14 | If you use the zlib library in a product, an acknowledgment is welcome | ||
15 | in the documentation of your product. If for some reason you cannot | ||
16 | include such an acknowledgment, I would appreciate that you keep this | ||
17 | copyright string in the executable of your product. | ||
18 | */ | ||
19 | |||
20 | /* | 11 | /* |
21 | Build a set of tables to decode the provided canonical Huffman code. | 12 | Build a set of tables to decode the provided canonical Huffman code. |
22 | The code lengths are lens[0..codes-1]. The result starts at *table, | 13 | The code lengths are lens[0..codes-1]. The result starts at *table, |
@@ -29,13 +20,8 @@ const char inflate_copyright[] = | |||
29 | table index bits. It will differ if the request is greater than the | 20 | table index bits. It will differ if the request is greater than the |
30 | longest code or if it is less than the shortest code. | 21 | longest code or if it is less than the shortest code. |
31 | */ | 22 | */ |
32 | int zlib_inflate_table(type, lens, codes, table, bits, work) | 23 | int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, |
33 | codetype type; | 24 | code **table, unsigned *bits, unsigned short *work) |
34 | unsigned short *lens; | ||
35 | unsigned codes; | ||
36 | code **table; | ||
37 | unsigned *bits; | ||
38 | unsigned short *work; | ||
39 | { | 25 | { |
40 | unsigned len; /* a code's length in bits */ | 26 | unsigned len; /* a code's length in bits */ |
41 | unsigned sym; /* index of code symbols */ | 27 | unsigned sym; /* index of code symbols */ |