stricter warnings, wip

This commit is contained in:
Philippe Teuwen committed 2020-05-02 23:54:27 +02:00
1 parent 0cb21c89c3
commit 0e39cb8e34
11 files changed
+20 -16

No files matched your search

+1 -1
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);
+3
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