Page MenuHomeFreeBSD

zlib crc32: Add prototypes for recently-added static functions.
ClosedPublic

Authored by jhb on Sep 27 2022, 5:42 PM.
Tags
None
Referenced Files
F125008823: D36755.id111097.diff
Sat, Aug 2, 8:41 AM
Unknown Object (File)
Fri, Jul 11, 12:34 PM
Unknown Object (File)
Thu, Jul 3, 7:55 PM
Unknown Object (File)
Jun 22 2025, 10:23 AM
Unknown Object (File)
Jun 21 2025, 9:05 AM
Unknown Object (File)
Jun 17 2025, 9:56 AM
Unknown Object (File)
Jun 1 2025, 9:27 PM
Unknown Object (File)
May 21 2025, 12:10 AM
Subscribers
None

Details

Summary

This appeases -Wstrict-prototypes with GCC. Using a separate
prototype using the OF macro seems to be consistent with the rest of
this file which still supports pre-ANSI C.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Sep 27 2022, 5:42 PM
jhb created this revision.

Should these also be upstreamed?

This revision is now accepted and ready to land.Sep 27 2022, 6:17 PM

There's a bigger question of what to do w/ zlib upstream with K&R, so it seems fine to make this change in our tree now and separately try to tackle all of that together.