Commit b1cbb56e by Edward Thomson

zlib: declare prototypes for new functions

The `crc32_combine_gen64` missed a prototype in our define path.
Add one.
parent c25d1a1b
...@@ -114,6 +114,9 @@ local z_crc_t x2nmodp OF((z_off64_t n, unsigned k)); ...@@ -114,6 +114,9 @@ local z_crc_t x2nmodp OF((z_off64_t n, unsigned k));
instruction, if one is available. This assumes that word_t is either 32 bits instruction, if one is available. This assumes that word_t is either 32 bits
or 64 bits. or 64 bits.
*/ */
local z_word_t byte_swap(z_word_t word);
local z_word_t byte_swap(word) local z_word_t byte_swap(word)
z_word_t word; z_word_t word;
{ {
...@@ -709,6 +712,9 @@ unsigned long ZEXPORT crc32_z(crc, buf, len) ...@@ -709,6 +712,9 @@ unsigned long ZEXPORT crc32_z(crc, buf, len)
#ifdef W #ifdef W
local z_crc_t crc_word(z_word_t data);
local z_word_t crc_word_big(z_word_t data);
/* /*
Return the CRC of the W bytes in the word_t data, taking the Return the CRC of the W bytes in the word_t data, taking the
least-significant byte of the word as the first byte of data, without any pre least-significant byte of the word as the first byte of data, without any pre
...@@ -1107,7 +1113,7 @@ uLong ZEXPORT crc32_combine_gen(len2) ...@@ -1107,7 +1113,7 @@ uLong ZEXPORT crc32_combine_gen(len2)
} }
/* ========================================================================= */ /* ========================================================================= */
uLong crc32_combine_op(crc1, crc2, op) uLong ZEXPORT crc32_combine_op(crc1, crc2, op)
uLong crc1; uLong crc1;
uLong crc2; uLong crc2;
uLong op; uLong op;
......
...@@ -1895,8 +1895,11 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */ ...@@ -1895,8 +1895,11 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file)); /* backward compatibility */
ZEXTERN z_off_t ZEXPORT gztell OF((gzFile)); ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile)); ZEXTERN z_off_t ZEXPORT gzoffset OF((gzFile));
ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t)); ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t));
ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t)); ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t));
ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t)); ZEXTERN uLong ZEXPORT crc32_combine_gen OF((z_off_t));
ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off64_t));
#endif #endif
#else /* Z_SOLO */ #else /* Z_SOLO */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment