]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Suppress -Wstrict-prototypes for several zlib files
authorDimitry Andric <dim@FreeBSD.org>
Tue, 26 Jul 2022 18:24:58 +0000 (20:24 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Tue, 26 Jul 2022 19:25:08 +0000 (21:25 +0200)
commite83ffec3af2e71cc64348d58481c87db9efbac92
treeb1feb7d85bf82c5633d1146f402d9b31ba2bb805
parent58cd36950cd9d25b680a92a3c275b3bf18a7d407
Suppress -Wstrict-prototypes for several zlib files

Clang 15 is more strict about function definitions not matching
declarations, and zlib has a lot of these, but since it is contributed
code (and in K&R style to boot), suppress those warnings instead.

MFC after: 3 days
sys/conf/files
sys/conf/kern.mk
sys/modules/zlib/Makefile