Page MenuHomeFreeBSD

style: Use static consistently
ClosedPublic

Authored by imp on May 28 2025, 9:49 PM.
Tags
None
Referenced Files
F136401637: D50588.diff
Mon, Nov 17, 3:09 PM
F136385865: D50588.id156235.diff
Mon, Nov 17, 1:11 PM
Unknown Object (File)
Thu, Nov 13, 4:45 AM
Unknown Object (File)
Sun, Oct 26, 12:47 AM
Unknown Object (File)
Oct 19 2025, 8:04 AM
Unknown Object (File)
Oct 15 2025, 9:22 PM
Unknown Object (File)
Oct 15 2025, 9:22 PM
Unknown Object (File)
Oct 15 2025, 9:21 PM
Subscribers

Details

Summary

C doesn't require that we have static on both the declaration and
definition of a function. But stylistically, FreeBSD does. Make that
so. Also make a function static that wasn't because, it seems, that
static and struct look a lot alike in a column of text.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64537
Build 61421: arc lint + arc unit

Event Timeline

imp requested review of this revision.May 28 2025, 9:49 PM
This revision is now accepted and ready to land.May 29 2025, 12:57 PM
This revision now requires review to proceed.May 29 2025, 6:18 PM
This revision is now accepted and ready to land.May 30 2025, 6:49 AM
This revision was automatically updated to reflect the committed changes.