stricter warnings, wip

This commit is contained in:
Philippe Teuwen 2020-05-02 23:54:27 +02:00
commit 0e39cb8e34
11 changed files with 20 additions and 16 deletions

View file

@ -26,7 +26,7 @@
#if !defined LOWMEM && defined __GNUC__
static uint8_t filterlut[1 << 20];
static void __attribute__((constructor)) fill_lut() {
static void __attribute__((constructor)) fill_lut(void) {
uint32_t i;
for (i = 0; i < 1 << 20; ++i)
filterlut[i] = filter(i);

View file

@ -82,6 +82,9 @@ local void slide_hash OF((deflate_state *s));
local void fill_window OF((deflate_state *s));
local block_state deflate_stored OF((deflate_state *s, int flush));
local block_state deflate_fast OF((deflate_state *s, int flush));
#ifdef ZLIB_PM3_TUNED
local uInt try_harder OF((deflate_state *s, uInt strstart, uInt lookahead, IPos hash_head));
#endif
#ifndef FASTEST
local block_state deflate_slow OF((deflate_state *s, int flush));
#endif