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
F144475441: D36755.id111149.diff
Sun, Feb 8, 3:33 PM
Unknown Object (File)
Sat, Feb 7, 4:11 PM
Unknown Object (File)
Sat, Jan 31, 1:16 PM
Unknown Object (File)
Dec 31 2025, 2:35 PM
Unknown Object (File)
Dec 29 2025, 10:39 PM
Unknown Object (File)
Dec 25 2025, 11:32 AM
Unknown Object (File)
Dec 18 2025, 11:40 PM
Unknown Object (File)
Nov 24 2025, 8:44 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 47570
Build 44457: arc lint + arc unit

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.