diff options
author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2020-08-20 16:09:23 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-08-21 09:46:03 +0200 |
commit | 0cd1818e8669423815626de48c00b3334d2875cb (patch) | |
tree | 639c1a04824bd8a7a3c4580f642a75b8dd673d6e /functable.h | |
parent | 5b5677abd326e9ad2cda16edf4aa9dc3ec6a1171 (diff) |
Remove return value from insert_string, since it is always ignored and
quick_insert_string is being used instead.
Diffstat (limited to 'functable.h')
-rw-r--r-- | functable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functable.h b/functable.h index dab313d..82b04c3 100644 --- a/functable.h +++ b/functable.h @@ -9,7 +9,7 @@ #include "deflate.h" struct functable_s { - Pos (* insert_string) (deflate_state *const s, const uint32_t str, uint32_t count); + void (* insert_string) (deflate_state *const s, const uint32_t str, uint32_t count); Pos (* quick_insert_string)(deflate_state *const s, const uint32_t str); uint32_t (* adler32) (uint32_t adler, const unsigned char *buf, size_t len); uint32_t (* crc32) (uint32_t crc, const unsigned char *buf, uint64_t len); |