HomeFreeBSD

zlib: Use NO_WDEPRECATED_NON_PROTOTYPE

Description

zlib: Use NO_WDEPRECATED_NON_PROTOTYPE

Also add it to kern.mk so it's available for module builds.

Sponsored by: Netflix
Noticed by: mjg
Fixes: b9f235ba3178
Differential Revision: https://reviews.freebsd.org/D38550

(cherry picked from commit b80185c267243a57bbc3e03fd2b47680672d6050)

Details

Provenance
impAuthored on Feb 13 2023, 4:15 PM
dimCommitted on Apr 9 2023, 2:56 PM
Differential Revision
D38550: Properly conditionalize clang 15-only flags
Parents
rGf80ddde258be: bearssl: Suppress warnings from functions that have no args
Branches
Unknown
Tags
Unknown