[build] Remove global -Wno-deprecated-non-prototype

Fix an instance in libevent.

Sink -Wno-deprecated-non-prototype into zlib, it's the only remaining library where this warning fires. (upstream bug https://github.com/madler/zlib/issues/633)

Bug: 1314867
Change-Id: I2547ba1b358ab90ec6dece4f0879b2ebe6f59820
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3615937
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Arthur Eubanks <aeubanks@google.com>
Cr-Commit-Position: refs/heads/main@{#998593}
NOKEYCHECK=True
GitOrigin-RevId: cbba1d4d16d3dfeb51421749cafa34c2666f8b26
1 file changed