Update libz to the HEAD of the develop branch
authortb <tb@openbsd.org>
Tue, 25 Apr 2023 16:59:10 +0000 (16:59 +0000)
committertb <tb@openbsd.org>
Tue, 25 Apr 2023 16:59:10 +0000 (16:59 +0000)
commita04ea15dafe6974ae5a5b91b1adc9d00183fc2e9
treea75eaeceb2189b5a72c53609b048d691961c87cd
parent3a50714bbd62a5bbf33b10b2e3b087633fbf1e17
Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt
24 files changed:
lib/libz/ChangeLog
lib/libz/README
lib/libz/adler32.c
lib/libz/compress.c
lib/libz/crc32.c
lib/libz/deflate.c
lib/libz/deflate.h
lib/libz/gzclose.c
lib/libz/gzguts.h
lib/libz/gzlib.c
lib/libz/gzread.c
lib/libz/gzwrite.c
lib/libz/infback.c
lib/libz/inffast.c
lib/libz/inffast.h
lib/libz/inflate.c
lib/libz/inftrees.c
lib/libz/inftrees.h
lib/libz/trees.c
lib/libz/uncompr.c
lib/libz/zconf.h
lib/libz/zlib.h
lib/libz/zutil.c
lib/libz/zutil.h